Procedure GMP::Instance::SetOptionValue(GMP, OptionName, Value)

GMP::Instance::SetOptionValue

The procedure GMP::Instance::SetOptionValue sets the value of a solver specific option corresponding to a generated mathematical program.

This procedure can also be used to set certain Solvers General options (see below).
GMP::Instance::SetOptionValue(
     GMP,            ! (input) a generated mathematical program
     OptionName,     ! (input) a scalar string expression
     Value           ! (input) a scalar numeric expression
     )

Arguments

GMP

An element in AllGeneratedMathematicalPrograms.

OptionName

A string expression holding the name of the option.

Value

A scalar numeric expression representing the new value to be assigned to the option.

Return Value

The procedure returns 1 if the option exists and the value can be assigned to the option, or 0 otherwise.

Note