ContentsIndexHome
PreviousUpNext
ISolverInfo::GetDoubleOption Method

Provides information for a double-valued option.

virtual void GetDoubleOption(
    _LONG_T dbl_option_no, 
    char name[], 
    double values[], 
    _LONG_T optinfo[]
) = 0;
Parameters 
Description 
_LONG_T dbl_option_no 
Number of the double-valued option 
char name[] 
Buffer for placing the name of the option; the length of the name should be at most 255 
double values[] 
The double-valued option values array of size OptionValues::OPTION_MAX, indexed over the OptionValues enumeration 
_LONG_T optinfo[] 
The integer option information array of size IntegerOptionInfo::OPTINFO_MAX, indexed over the IntegerOptionInfo enumeration 

The GetDoubleOption method has no return value.

The GetDoubleOption method should provide AIMMS with the following information for a double-valued option:

  • The name.
  • The lower and upper bound, and the default value.
  • The category of the option, and the index within this category.
  • Information whether the option's value can be changed during progress.

From the initial calls to the methods GetInitialInfo and GetIntegerOption, AIMMS has retrieved the number of double-valued options. AIMMS assumes that the double-valued options are numbered from 0 up to the number of double-valued options, minus 1. To each of these numbers a unique double-valued solver option should be assigned.

Copyright © 1993–2016 by AIMMS B.V. All rights reserved.