Skip to main content

Optimize installation fleet for floating offshore wind

Ongoing

Comments

1 comment

  • 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

Please sign in to leave a comment.