Initializing help system before first use

problem.readbinsol

problem.readbinsol


Purpose
Reads a solution from a binary solution file.
Synopsis
problem.readbinsol (filename, flags)
Arguments
filename 
A string of up to 200 characters containing the file name from which the solution is to be read. If omitted, the default problem_name is used with a .sol extension.
flags 
(optional) Flags to pass to readbinsol:
load the solution as a solution for the MIP.
Example
A previously saved solution can be loaded into memory and a print file created from it with the following commands:
p.read ("myprob", "")
p.readbinsol ("", "")
p.writeprtsol ("", "")
Related topics