-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Write model files failed #19
Comments
Can you please show me your code? Where did you exactly used the method in |
In the m, *conss = build_model(n_locations, n_clusters, distances, demands, capacities)
m.optimize()
m.writeLP() |
Firstly, Secondly, the reason why |
Thank you very much! I just think |
I want to save
.lp
file of my model, but I can't find a successful way. I tried the follwing methods for thecpmp
example in the official document..wirteLP()
and
These two methods creat files named
LP.lp
ormodel.lp
automatically. But in the file, the name of variables aren't the assigned name in the code and the constraints aren't completed or maybe wrong..wirteProblem()
and
These two methods creat files named
model.cip
ormodel.lp
automatically. But the files are empty and the right content is outputed in the console.The text was updated successfully, but these errors were encountered: