Download User's Manual

Transcript
164
CHAPTER 4
Example:
Arguments should be provided as follows:
If one wished to set all the options, the simplest syntax would be:
wbSetGeneralOptions 0.0000002, 77, 88, 2, True, False, False, _
1, 0.2, 222222, 1, 1, 1, False, True, False, False, _
False, True, False, False, True
To set one or more options, named arguments should be used:
wbSetGeneralOptions goSolutionReport:=1, goWrnBlank:=1
wbSetGlobalOptions
This routine is used to set the What'sBest! global solver options seen in the Global Solver Options
dialog box. For additional discussion of the options available through this routine, see the section
entitled Options. . . |Global Solver. All arguments are optional.
Syntax: wbSetGlobalOptions( [GlStratGlobal], [GlMultistartAttempts], [GlOptimalityTolerance],
[GlDeltaTolerance], [GlVariableBoundLimit], [GlUseBoundLimit], [GlBranchingDirection],
[GlBoxSelection], [GlAlgebraicReformulation])
Argument
Required
Default
Description
GlStratGlobal
No
0 (False)
GlStratGlobal is a True/False flag
indicating whether or not to use this
strategy.
GlMultistartAttempts
No
0 (Solver
Decides)
GlMultistartAttempts is a positive
number indicating the multistart
attempts:
0: Solver Decides,
1: Off,
2 or more: number of attempts.
GlOptimalityTolerance
No
0.000001
GlOptimalityTolerance is a number
between 0 and 1 indicating the
optimality tolerance.
GlDeltaTolerance
No
0.0000001
GlDeltaTolerance is a number
between 0 and 1 indicating the delta
tolerance.
GlVariableBoundLimit
No
1000000000
GlVariableBoundLimit is a positive
integer indicating the variable
bound limit.
GlUseBoundLimit
No
0 (Solver
Decides)
GlUseBoundLimit indicates the use
of bound limit: