When we do single-objective model,we use "opl.CP.ObjValue"(from c#) to get the object value.
If i do multi-objective model, i set "dexpr int e1 =……，dexpr int e2 = ……".And i use "minimize staticLex(e1, e2)" to let cp slove multiobject.But here comes the question: how can i get the two object value from c#?
Pinned topic How to get multi-objective value from c# (V12.5)
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-02-18T11:55:46Z at 2013-02-18T11:55:46Z by SystemAdmin
Re: How to get multi-objective value from c# (V12.5)2013-02-18T08:40:03ZThis is the accepted answer. This is the accepted answer.Hello.
There is the following function on class CP in C#:
public double GetObjValues()
This method returns the numeric values of all objectives in a multi-objective function associated with the CP engine.