Skip to main content

Constraint involves log

Answered

Comments

4 comments

  • Official comment
    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 Xiao,

    By default Gurobi variables have a default lower bound of 0.

    Could this cause the issue here?

    - Riley

    0
  • XIAO ROU YU
    • Gurobi-versary
    • First Comment
    • First Question

    Hi Riley,

    Thanks for answering.

    I tried to set the variables who may be negative to a negative lower bound,

    but still encountered an infeasible model.

    Therefore, I suspect there may be an error in the code for the log term,

    but I cannot find the error.

    0
  • Riley Clement
    • Gurobi Staff

    Hi Xiao,

    I would suggest the following article will help
    How do I determine why my model in infeasible?

    - Riley

    0

Post is closed for comments.