TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A Short Intro to Constraints

185 pointsby nkorenabout 6 years ago

7 comments

AYBABTMEabout 6 years ago
I&#x27;m curious if someone would know where to point me?<p>There&#x27;s many problems I would like to solve using some sort of model definition with constraints given, and variable(s) to optimize. Either to aid in guiding the design of a system, or using generative design.<p>Example:<p><pre><code> - Electrical power, voltage and amperage constraints along with physical size constraints, in a circuit model. - Data size and throughput and concurrency constraints in a distributed system models. </code></pre> I have a feeling there must be well known techniques and&#x2F;or tools to do these kind of general purpose constraint modelling, but I can&#x27;t put my finger on it. The closest that comes to mind is using Prolog, but I&#x27;ve only used it with boolean type of constraints.
评论 #19419276 未加载
评论 #19417460 未加载
评论 #19417652 未加载
评论 #19417240 未加载
kkaranthabout 6 years ago
In the distance constraint, won’t the point always land _on_ the circle? The visualisation shows that it can be inside the circle too.
评论 #19419259 未加载
评论 #19419147 未加载
gtycombabout 6 years ago
Any idea how the graphics gets rendered on the brower here? Is there a javascript library for this?<p>I see further interesting graphics from the author here: <a href="https:&#x2F;&#x2F;github.com&#x2F;zalo&#x2F;MathUtilities" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;zalo&#x2F;MathUtilities</a>
评论 #19425800 未加载
评论 #19418077 未加载
ASalazarMXabout 6 years ago
Truly didactic while being entertaining. Playing lets the concept sink in better.
zawerfabout 6 years ago
This is a similar project that showed up on hn a while ago:<p><a href="http:&#x2F;&#x2F;omrelli.ug&#x2F;g9&#x2F;gallery&#x2F;" rel="nofollow">http:&#x2F;&#x2F;omrelli.ug&#x2F;g9&#x2F;gallery&#x2F;</a>
agrinmanabout 6 years ago
I could see this as a great as visualization tool for a high school geometry class, i.e. explaining solutions for systems of inequalities.
tandavabout 6 years ago
there are not so many videos about this topic<p>this GDC talk is kinda hard to understand (at least for me) <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=SHinxAhv1ZE" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=SHinxAhv1ZE</a>