Skip to main content

Decision Variables that are not in the objective function

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff 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?.
  • Daniel Espinoza

    Hi Jose,

    Defining variables without an objective coefficient is standard use. Maybe you are declaring your constraints wrong? Did you inspect the resulting model through the LP file?

    Daniel

    0

Post is closed for comments.