problem.save
problem.save |
Purpose
Saves the current data structures, i.e. matrices, control settings and problem attribute settings to file and terminates the run so that optimization can be resumed later.
Synopsis
problem.save(filename=None)
Example
p.save()
Further information
The data structures are written to the file
problem_name
.svf. Optimization may recommence from the same point when the data structures are restored by a call to
problem.restore. Under such circumstances, the file
problem_name
.sol and, if a branch and bound search is in progress, the global files
problem_name
.glb and
problem_name
.ctp are also required. These files will be present after execution of
save, but will be modified by subsequent optimization, so no optimization calls may be made after the call to
save. Note that the
.svf files created are particular to the release of the Optimizer used to create them. They can only be read using the same release Optimizer as used to create them.
Related topics