Skip to main content

model.write("model.lp") not working

Answered

Comments

2 comments

  • Official comment
    Greg Glockner
    Gurobi Staff Gurobi Staff

    I just tested this by adding the line:

        model.write("mip1.java.lp");

    to the Mip1.java example; this worked correctly using Gurobi Optimizer 8.1.1. To get more assistance, please post more details, such as the error message.

  • 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?.

Post is closed for comments.