简体   繁体   中英

How to perturb datas for quadratic optimization wiht CVXPY

I have the same problem described here CVXPY Quadratic Programming; ArpackNoConvergence error .

I would like to try the pertubation/trasformation solution, but i have no idea how to perform it.

I have a quadratic problem like this https://www.cvxpy.org/examples/basic/quadratic_program.html , and all the matrix P, q, G, h, A, b.

The solver works as long as the matrix are small (like 150 items). But with larger problems i get the problem above.

Would really appreciate if someone could explain me how to perturb datas (with Python).

Thank you.

What do you mean by not working? Does it say the Q is not positive semi-definite?

If that is the case you may want to read

https://docs.mosek.com/whitepapers/qmodel.pdf

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM