MathProgExtensionsmaximize Property

Creates the 'maximization' direction for defining an objective function.

It is followed by a pipe operator and an expression to create the objective function.

C#
Objective maxRevenue
    key("total revenue")
    | "Total revenue obtained by completed tasks by assigning a resource"
    | maximize
    | sum(over(r, t), revenue[t] * x[r, t]);

Definition

Namespace: Orx.MathProg
Assembly: Orx.MathProg (in Orx.MathProg.dll) Version: 1.0.0
C#
public static Direction maximize { get; }

Property Value

Direction

See Also