MathProgExtensionsminimize Property

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

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

C#
Objective minCost
    key("total cost")
    | "Sum of total flow and design cost of all edges."
    | minimize
    | sum(over(j, i), costFlow[i, j] * x[i, j] + costDesign[i, j] * y[i, j]);

Definition

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

Property Value

Direction

See Also