Skip to content
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

Is it possible to deal with the equality constraints with the proposed miosqp? #7

Open
Yangli0505 opened this issue Jun 16, 2020 · 2 comments

Comments

@Yangli0505
Copy link

I have to deal with the equality constraints, but there are no options in the miosqp model and the inputs of setup function only include P, q, A, l, u, i_idx, i_l, i_u. Then, how to deal with equality constraints?If I set l=u, the l≤Ax≤u, is it okay?

@goulart-paul
Copy link
Collaborator

Yes, just set the lower and upper bounds equal. The solver will recognise that as an equality and act accordingly.

@Yangli0505
Copy link
Author

Yangli0505 commented Jun 18, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants