-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add support for quadratic constraints #50
Comments
Maybe this should go to NLPModels? |
Yes, maybe we should also move some functions like https://github.com/JuliaSmoothOptimizers/NLPModelsJuMP.jl/blob/master/src/utils.jl#L56-L73 in NLPModels.jl. |
Should we create a simple TripletMatrix? |
Maybe a separate package with a COOSparseMatrix type that conforms to the Julia AbstractMatrix API. |
Agreed |
If we want to add support for quadratic constraints (amontoison@378439f), we need to:
It could be a project for a student. |
Simply to revitalize the debate. @amontoison
|
Why would they be stored together? Also they're symmetric, so we'd only store one triangle. |
Indeed, this is a good point that they are symmetric. |
I have a structure that handle a quadratic objective : https://github.com/JuliaSmoothOptimizers/NLPModelsJuMP.jl/blob/main/src/utils.jl#L47-L53 I can reuse it like this :
and add a |
That sounds good. |
It could be useful to treat separately quadratic and other nonlinear constraints.
An open question is how to store all hessian of the quadratic constraints?
The text was updated successfully, but these errors were encountered: