Help required with KKT optimisation
回答済みI am completely new to Gurobi. I could solve some of the greedy algorithms using Gurobi. Now, I want to solve the following problem but I am not sure how do I take care of the abs and l2norm part here. Can I get some help on how to structure it? Here, all parameters are matrices with subscripts corresponding to dimensions.

0
-
正式なコメント
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?. -
With the latest Gurobi version v9.5, you can use the addGenConstrNorm method to model the l2norm. For the abs function you can use the addGenConstrAbs method. Please note that you will have to introduce multiple auxiliary variables to use the general constraint methods, because these methods only accept Var objects.
Best regards,
Jaromił0 -
Thanks Jaromil.
Regards,
Asutosh
0
投稿コメントは受け付けていません。
コメント
3件のコメント