ILOG CPLEX .NET Reference Manual

MultipleObjectiveException Class

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 class MultipleObjectiveException : Exception

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

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.

Requirements

Namespace: ILOG.CPLEX

Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll)

See Also

MultipleObjectiveException Members | ILOG.CPLEX Namespace