メインコンテンツへスキップ

Help required with KKT optimisation

回答済み

コメント

3件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff
    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?.
  • Jaromił Najman
    • Gurobi Staff

    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
  • ASUTOSH BRAHMA
    • Gurobi-versary
    • First Comment
    • First Question

    Thanks Jaromil.

    Regards,

    Asutosh

    0

投稿コメントは受け付けていません。