-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
comparison operators to create Constraint
s from Value
s?
#31
Comments
what about sometree.someconstraint.value == 0 same as C.Constraint(sometree.someconstraint.value, C.EqualTo(0)) Lol, basically JuMP syntax, but without the macros |
OK after re-reading the docs (like here: https://cobrexa.github.io/ConstraintTrees.jl/v1.0/0-quickstart/#Combining-constraint-systems:-Let's-have-a-factory%21 ) I guess this should be given priority. The constraints in the snippets there are not nice at all. :D |
extra take: EDIT: might be useful to just backport some of the simple constraint building stuff from COBREXA. After thinking a bit I'm not sure if having the operators is a good idea at all (Julia can't typecheck the result types very easily so in the end we might have one huge source of hidden bugs) |
this could work:
equal to say
or so.
The text was updated successfully, but these errors were encountered: