ObjNVal


ObjNVal

Type: double
Modifiable: No

This attribute is used to query the objective value obtained for objective <span>$</span>n<span>$</span> by the <span>$</span>k<span>$</span>-th solution stored in the pool of feasible solutions found so far for the problem. You set <span>$</span>n<span>$</span> using the ObjNumber parameter, while you set <span>$</span>k<span>$</span> using the SolutionNumber parameter.

The number of objectives in the model can be queried (or modified) using the NumObj attribute; while the number of stored solutions can be queried using the SolCount attribute.

For examples of how to query or modify attributes, refer to our Attribute Examples.