pyomo
pyomo copied to clipboard
add qp support for highs
Fixes #3381 .
Summary/Motivation:
HiGHS can solve quadratic programming (QP) models, which contain an objective term x.T @ Q @ x where the Hessian matrix Q is positive semi-definite.
Changes proposed in this PR:
- Allow quadratic terms in the objective by changing quadratic to True in generate_standard_repn
Legal Acknowledgement
By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution:
- I agree my contributions are submitted under the BSD license.
- I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.