There is a possibility that the optimal solution with the prioritized objectives is the same as the optimal solution for the summed objectives, but you can easily test this. The prioritized objectives can be done in AMPL -- without recourse to the Gurobi multi-objective feature -- by use of commands like these:
param Obj1val;
subj to Obj1fix: var1 = Obj1val;
drop Obj1fix;
objective Obj1;
solve;
restore Obj1fix;
let Obj1val := Obj1;
objective Obj2;
solve;
Then you can compare the result that you get after the second solve, to the result that you get from
minimize Obj3: var1 + var2;
drop Obj1fix;
objective Obj3;
solve;
If the two results are different, then if you can provide us with your example model and data, we will reproduce the problem and get it fixed.
Bob Fourer
am...@googlegroups.com
--
You received this message because you are subscribed to the Google Groups "AMPL Modeling Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ampl+uns...@googlegroups.com.
To post to this group, send email to am...@googlegroups.com.
Visit this group at https://groups.google.com/group/ampl.
For more options, visit https://groups.google.com/d/optout.