Procedure GMP::Instance::SetDirection(GMP, direction)

GMP::Instance::SetDirection

The procedure GMP::Instance::SetDirection changes the direction of a generated mathematical program.

GMP::Instance::SetDirection(
     GMP,              ! (input) a generated mathematical program
     direction         ! (input) an optimization direction
     )

Arguments

GMP

An element in the set AllGeneratedMathematicalPrograms.

direction

An element expression in the set AllMatrixManipulationDirections.

Return Value

The procedure returns 1 on success, or 0 otherwise.