Creates and returns an empty objective function with the sense specified by sense and with the name specified by name.

This method creates and returns an IObjective object with a zero expression and the specified optimization sense. The new IObjective object is assigned name as its name. This method is typically used in an application that applies column-wise modeling to fill in the objective function while creating the variables.

Namespace: ILOG.Concert
Assembly: oplall (in oplall.dll)

Syntax

C#
IObjective Objective(
	ObjectiveSense sense,
	string name
)

Parameters

sense
Type: ILOG.Concert..::..ObjectiveSense
name
Type: System..::..String

Return Value

The new zero objective.

See Also