ContentsIndexHome
PreviousUpNext
ISolverInfo::GetIntegerOption Method

Provides information for an integer option.

virtual void GetIntegerOption(
    _LONG_T int_option_no, 
    char name[], 
    _LONG_T values[], 
    _LONG_T optinfo[]
) = 0;
Parameters 
Description 
_LONG_T int_option_no 
Number of the integer option 
char name[] 
Buffer for placing the name of the option; the length of the name should be at most 255 
_LONG_T values[] 
The integer 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 GetIntegerOption method has no return value.

The GetIntegerOption method should provide AIMMS with the following information for an integer 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 has keywords.
  • 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 integer options. AIMMS assumes that the integer options are numbered from 0 up to the number of integer options, minus 1. To each of these numbers a unique integer solver option should be assigned.

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