Define variables through new @defvar macro
Compare changes
- Michiel Cottaar authored
+ 336
− 196
@@ -2,18 +2,18 @@
@@ -53,98 +53,272 @@ Can return one of:
@@ -185,41 +359,48 @@ function get_free_variable(::Val{:max}; kwargs...)
@@ -230,77 +411,45 @@ Returns the gradient orientation.
@@ -334,25 +483,23 @@ If set to a numeric value, a constraint will be added to fix the function value
@@ -369,8 +516,9 @@ Add a single constraint or objective to the `variable`.
@@ -406,33 +554,25 @@ function make_generic end