# 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

```
OBJECTIVE( "Minimize_Pressure_Drop" ) {
type = minimize
response_variable = "Inlet_Pressure"
}
```

```
OBJECTIVE( "Minimize_Mechanical_Energy" ) {
type = minimize
response_variable = "mechanical_energy"
}
```