Function GMP::Instance::GetOptionValue(GMP, OptionName)

GMP::Instance::GetOptionValue

The function GMP::Instance::GetOptionValue returns the value of a solver specific option corresponding to a generated mathematical program as set with the procedure GMP::Instance::SetOptionValue.

This procedure can also be used to retrieve the current option value of certain Solvers General options (see below).
GMP::Instance::GetOptionValue(
     GMP,            ! (input) a generated mathematical program
     OptionName      ! (input) a scalar string expression
     )

Arguments

GMP

An element in AllGeneratedMathematicalPrograms.

OptionName

A string expression holding the name of the option.

Return Value

In case of success, the function returns the current option value. Otherwise it returns UNDF.

Note