Main
~~%width=50px%Attach:fv.png ~~%width=50px%Attach:mv.png %width=50px%Attach:cv.png

(:html:)

<iframe width="560" height="315" src="https://www.youtube.com/embed/dM8gX54jWW4" frameborder="0" allowfullscreen></iframe>

(:htmlend:)

## COST - APMonitor Option

## Main.OptionCost History

Show minor edits - Show changes to output

Changed line 5 from:

%width=50px%Attach:mv.png %width=50px%Attach:cv.~~png~~

to:

%width=50px%Attach:mv.png %width=50px%Attach:cv.png[[Main/DbsVariable|Local Options]] | %width=30px%Attach:apm.png [[Main/DbsGlobal|Global Options]]

Changed line 11 from:

COST is multiplied by the ~~FV, ~~MV~~,~~ or CV and the product is included in the objective function to favor maximizing (-) or minimizing (+) that quantity. It is important that the relative magnitude of each term in the objective function is scaled appropriately to ensure that the optimizer achieves a solution that is overall optimal with weighting that ranks the importance of each term. One method to appropriately weight values is to put COST in terms of monetary units.

to:

COST is multiplied by the MV or CV value and the product is included in the objective function to favor maximizing (-) or minimizing (+) that quantity. It is important that the relative magnitude of each term in the objective function is scaled appropriately to ensure that the optimizer achieves a solution that is overall optimal with weighting that ranks the importance of each term. One method to appropriately weight values is to put COST in terms of monetary units.

Changed line 5 from:

to:

%width=50px%Attach:mv.png %width=50px%Attach:cv.png

Changed line 11 from:

COST is multiplied by the FV, MV, or CV and the product is included in the objective function to favor maximizing (-) or minimizing (+) that quantity. It is important that the relative magnitude of each term in the objective function is scaled appropriately to ensure that the optimizer achieves a solution that is overall optimal with weighting that ~~is specifically desired~~.

to:

COST is multiplied by the FV, MV, or CV and the product is included in the objective function to favor maximizing (-) or minimizing (+) that quantity. It is important that the relative magnitude of each term in the objective function is scaled appropriately to ensure that the optimizer achieves a solution that is overall optimal with weighting that ranks the importance of each term. One method to appropriately weight values is to put COST in terms of monetary units.

Added lines 12-15:

(:html:)

<iframe width="560" height="315" src="https://www.youtube.com/embed/dM8gX54jWW4" frameborder="0" allowfullscreen></iframe>

(:htmlend:)

Added lines 1-13:

(:title COST - APMonitor Option:)

(:keywords COST, Optimization, Estimation, Option, Configure, Default, Description:)

(:description Cost weight (+)=minimize, (-)=maximize:)

%width=50px%Attach:fv.png %width=50px%Attach:mv.png %width=50px%Attach:cv.png

Type: Floating Point, Input

Default Value: 0.0

Description: Cost weight: (+)=minimize, (-)=maximize

COST is multiplied by the FV, MV, or CV and the product is included in the objective function to favor maximizing (-) or minimizing (+) that quantity. It is important that the relative magnitude of each term in the objective function is scaled appropriately to ensure that the optimizer achieves a solution that is overall optimal with weighting that is specifically desired.

See also [[https://apmonitor.com/do/index.php/Main/ControllerObjective|Dynamic Control Objectives]]

(:keywords COST, Optimization, Estimation, Option, Configure, Default, Description:)

(:description Cost weight (+)=minimize, (-)=maximize:)

%width=50px%Attach:fv.png %width=50px%Attach:mv.png %width=50px%Attach:cv.png

Type: Floating Point, Input

Default Value: 0.0

Description: Cost weight: (+)=minimize, (-)=maximize

COST is multiplied by the FV, MV, or CV and the product is included in the objective function to favor maximizing (-) or minimizing (+) that quantity. It is important that the relative magnitude of each term in the objective function is scaled appropriately to ensure that the optimizer achieves a solution that is overall optimal with weighting that is specifically desired.

See also [[https://apmonitor.com/do/index.php/Main/ControllerObjective|Dynamic Control Objectives]]