Procedure OptionSetValue(OptionName, NewValue)

OptionSetValue

With the procedure OptionSetValue you can set the value of a numeric AIMMS option. The value assigned to the option must be contained in the option range displayed in the AIMMS Options dialog box.

OptionSetValue(
     OptionName,          ! (input) scalar string expression
     NewValue             ! (input) scalar numeric expression
     )

Arguments

OptionName

A string expression holding the name of the option.

NewValue

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