Closed yeesian closed 9 years ago
This would be nice to have. @addConstraints
works as a simple wrapper around @addConstraint
, and I'm guessing @addNLConstraints
could be implemented with pretty much the exact same strategy (and code).
Yeah, should be a copy-paste job.
Currently we can add groups of (affine) constraints through the
@addConstraints
macro, e.g.It will be great to extend it to nonlinear constraints, by introducing a
@addNLConstraints
macro. This will be useful for problem instances such as the MINLP example in KNITRO.