-
Notifications
You must be signed in to change notification settings - Fork 22
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
Formulating linear constraints #15
Comments
All you need to do is give a vector of the discretization points
You can optionally specify the formulation you would like to use; you can see our recent paper and the references for more info on the details of the formulations. |
Closing as stale and because this discussion seems resolved. |
I seem to have missed this response and only realized it when @odow closed the issue ...
just to clarify, @joehuchette, do we need the domain to be finite? e.g. if I have |
The
is a discrete set of points. PiecewiseLinearOpt.jl doesn't get to see the expression
|
You mention that you can do a better job formulating piecewise constraints here. Could you explain what your approach is? (My big-M approach relies on finding the best possible bounds I can on the input, and then using those bounds in the big-M formulation.
(Filing as an issue here because I thought it would be relevant to future users of this library.)
The text was updated successfully, but these errors were encountered: