We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How can i optimize something with upper and lower bound using this code?
The text was updated successfully, but these errors were encountered:
Given: ai <= xi <= bi Split it in two inequations:
ai <= xi <= bi
ai <= xi xi <= bi
Swap left and right sides and change <= to >=:
<=
>=
xi >= ai bi >= xi
Move ai to the left side in the first inequality and xi to the left side in the second equality:
ai
xi
xi - ai >= 0 -xi + bi >= 0
You can find how to specify the last two inequations as constraints in QuadProg++.hh and main.cc.
Sorry, something went wrong.
No branches or pull requests
How can i optimize something with upper and lower bound using this code?
The text was updated successfully, but these errors were encountered: