Working With Multiple Objectives

35 views
Skip to first unread message

Mayron Rodrigues

unread,
Jun 27, 2024, 4:54:30 PM6/27/24
to OPTANO Modeling
Hello Optano,

I am using Optano to solve an optimization problem by calling the GUROBI solver and setting a multiobjective function using Hierarchical Optimization.

I would like to know how I can set a time limit for each objective in Optano, as described in the Additional Details - Gurobi Optimization.

Thank you,

Mayron

Jannick Lange

unread,
Jul 3, 2024, 7:57:54 AM7/3/24
to OPTANO Modeling
Hello Mayron,

you can specify different time limit values for each hierarchy level in the GurobiSolverConfiguration:

var gurobiConfig = new GurobiSolverConfiguration();
gurobiConfig.PriorityLevelTimeLimitDefinition.SetTimeLimitForPriorityLevel(yourPrioLevel, customTimeLimit);

If you do not specify a limit for a certain priority level, the optimization should terminate after the global time limit (gurobiConfig.TimeLimit) is expired, or until some other termination criterion is met.

Best regards,
Jannick

Mayron Rodrigues

unread,
Jul 5, 2024, 10:41:30 AM7/5/24
to OPTANO Modeling
Jannick,

Thank you so much! It worked flawlessly.

Best regards,
Mayron
Reply all
Reply to author
Forward
0 new messages