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

Exp(an equation)

回答済み

コメント

3件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff
    This post is more than two 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 try Gurobot, our chatbot interface offering instant, expert-level support.
  • Riley Clement
    • Gurobi Staff

    Hi Hadi,

    If you create an auxiliary variable "reliab", (noting that default lower bound is 0, so change it if need be), add a constraint reliab == expr_reliab, then you can use

    GRBGenConstr test = model.addGenConstrExp(exp_lambda_decision, reliab, "exp_lambda", "test");  
    
    }

    Note, allowing expressions in the arguments is in our roadmap for development but as of right now this is how to do it.

    - Riley

    0
  • Hadi Askaripoor
    • Gurobi-versary
    • Conversationalist
    • First Question

    Dear Riley,

    Thanks for your reply!

    I will test it and get back to you.

    Best,

    Hadi

    0

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