miosqp
miosqp copied to clipboard
Is it possible to deal with the equality constraints with the proposed miosqp?
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?
Yes, just set the lower and upper bounds equal. The solver will recognise that as an equality and act accordingly.
thanks! 祝好!
李洋 清华大学汽车工程系 Department of Automotive Engineering, Tsinghua University Email Address:[email protected] Google scholar:https://scholar.google.com/citations?user=jsO5m0UAAAAJ&hl=en
Paul Goulart [email protected] 于2020年6月16日周二 下午6:10写道:
Yes, just set the lower and upper bounds equal. The solver will recognise that as an equality and act accordingly.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/oxfordcontrol/miosqp/issues/7#issuecomment-644670299, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGKO327YP5IOJ62VK42SR6TRW5AKHANCNFSM4N7OQVXA .