This exception is thrown by an attempt to add more than one Objective to a Model object.
For a list of all members of this type, see MultipleObjectiveException Members.
System.Object
System.Exception
ILOG.Concert.Exception
ILOG.CPLEX.MultipleObjectiveException
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
In this version of ILOG CPLEX, a model can only contain one Objective object. It is planned to remove this restriction, and thus this exception, in a future version, although it is likely that algorithms will still be unable to handle models with more than one objective.
Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll)