Creates and returns an instance of IObjective
representing an objective to optimize the expression
expr with respect to the
optimization sense indicated by sense and
assigned the name name.
Namespace: ILOG.Concert
Assembly: oplall (in oplall.dll)
Syntax
| C# |
|---|
IObjective Objective( ObjectiveSense sense, INumExpr expr, string name ) |
Parameters
- sense
- Type: ILOG.Concert..::..ObjectiveSense
Optimization sense.
- expr
- Type: ILOG.Concert..::..INumExpr
Expression to optimize.
- name
- Type: System..::..String
Name assigned to the new IObjective object.