OBJECTIVE

Specifies the objective for an optimization problem.

Type

AcuSolve Command

Syntax

OBJECTIVE {parameters}

Qualifier

This command has no qualifier.

Parameters

type (enumerated) [=minimize]
Specifies if the objective is to minimize or maximize the response.
minimize
maximize
response_variable (string) [=""]
User defined name of response variable that is computed from the simulation.

Description

This command specifies the objective of the optimization. The objective can be either to maximize or minimize the defined response variable. A typical objective defined by the OBJECTIVE command is a function of response variables, defined using the RESPONSE_VARIABLE commands.
OBJECTIVE( "Minimize_Pressure_Drop" ) {
    type                                = Minimize
    response_variable                   = "Inlet_Pressure"
}