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

Problems with quadratic objective function should be solved with CPXqpopt #28

Closed
ghost opened this issue Sep 26, 2014 · 2 comments
Closed

Comments

@ghost
Copy link

ghost commented Sep 26, 2014

According to the CPLEX manual, QPs with quadratic objective (and only linear constraints) should also be solved by CPXqpopt. However, the current implementation only calls CPXqpopt if the problem has a quadratic constraint (i.e. if has_qc equals true which is only set in add_qconstr!.

@joehuchette
Copy link
Contributor

Were you noticing any issues with this? We test this behavior and it seems to work as expected. This is certainly something change, though; thanks for the report!

@ghost
Copy link
Author

ghost commented Sep 26, 2014

Actually yes. When solving some QP cplex always used the simplex method
and not the barrier, although I set
CPX_PARAM_QPMETHOD=CPLEX.CPX_ALG_BARRIER. This led to some numerical
problems in my case. But I'm not sure if the computed solution was
correct when there were no numerical problems.

Am 26.09.2014 um 17:44 schrieb Joey Huchette:

Were you noticing any issues with this? We test this behavior and it seems to work as expected. This is certainly something change, though; thanks for the report!


Reply to this email directly or view it on GitHub:
#28 (comment)

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

No branches or pull requests

1 participant