How to get runtime for multi-objective formulation using Hierarchical methods?
Hi,
I have written a multi-objective optimization using Hierarchical formulation.
m.setObjectiveN(obj1, index = 1, priority = 2, abstol=20.0)
m.setObjectiveN(obj2, index = 2, priority = 1, abstol=0.0)
The problem is solved in,
Multi-objectives: solved in 0.07 seconds, solution count 1
When I try to print the runtime using m.runtime(), it gives me the following answer. I am wondering why?
print(m.runtime)
Runtime- 0.0
0
-
Official comment
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?. -
I was not able to reproduce this behavior with a simple example. Could you please share the code where this happens?
Cheers,
Matthias0
Post is closed for comments.
Comments
2 comments