-
Notifications
You must be signed in to change notification settings - Fork 3
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
support interval arithmetic for quadratic expressions #65
Comments
Options:
|
Pyomo now avoids CNF altogether by default and instead uses a combination of algebraic and disjunctive constraints, taking inspiration from factorable programming: https://github.com/Pyomo/pyomo/blob/main/pyomo/contrib/cp/transform/logical_to_disjunctive_program.py This is will yield a different MILP formulation, but the reformulation should be faster. |
CNF is for the logic proposition constraints, not for Big-M, which is what this issue is about... |
Whoops, I posted on the wrong issue by mistake.
…On Wed, Aug 16, 2023, 2:49 PM Hector Perez ***@***.***> wrote:
CNF is for the logic proposition constraints, not for Big-M, which is what
this issue is about...
However, I'll have to take a look at what they do in that regard. Thanks!
—
Reply to this email directly, view it on GitHub
<#65 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AICHX55J5VI2B2RNAECM4ILXVUI4VANCNFSM6AAAAAA2G2XPSA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
There is no analytical expression for a constrained quadratic that I know of. Getting tight Big-M values for quadratic or other nonlinear constraints will require solving a separate optimization problem...or borrowing something from PYOMO GDP. |
What does Pyomo do? |
"By default, the BM transformation will estimate reasonably tight M values for you if variables are bounded. For nonlinear models where finite expression bounds may be inferred from variable bounds, the BM transformation may also be able to automatically compute M values for you. For all other models, you will need to provide the M values through a “BigM” Suffix, or through the bigM argument to the transformation." |
I wonder how they "infer" "finite expression bounds" on nonlinear constraints. If they can do it, it would be nice to add that capability here as well. |
need an analytical expression to find the min/max of the quadratic
The text was updated successfully, but these errors were encountered: