Skip to main content

Optimize installation fleet for floating offshore wind

Ongoing

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?.
  • Silke Horn
    • Gurobi Staff Gurobi Staff

    In the current form (with the comments), your model does not have any constraints. So it is not surprising that the objective value is 0. What happens if you don't comment out your constraint code? For debugging a model it may help to write it to a file in the LP format. If you know a feasible solution that you think is better than what Gurobi finds, go through your constraints and check whether it satisfies them. (You could also try passing a MIP start, but given that your model is still very small, it may be more efficient to debug this manually.)

    You can read the data from the Excel file however you like. For simply reading xls files, xlrd is a viable option. pandas is also a good choice.

    0

Post is closed for comments.