-
Procedure
GMP::Instance::
SetMemoryLimit
(GMP, memory)¶
GMP::Instance::SetMemoryLimit¶
The procedure GMP::Instance::SetMemoryLimit
limits the amount of
memory available to solve a generated mathematical program.
GMP::Instance::SetMemoryLimit(
GMP, ! (input) a generated mathematical program
memory ! (input) amount of memory
)
Arguments¶
- GMP
An element in
AllGeneratedMathematicalPrograms
.- memory
Maximum number of megabytes available to solve the generated mathematical program.
Return Value¶
The procedure returns 1 on success, or 0 otherwise.
See also
The routines GMP::Instance::Generate
, GMP::Instance::Solve
, GMP::Instance::SetCutoff
, GMP::Instance::SetIterationLimit
and GMP::Instance::SetTimeLimit
.