Initializing help system before first use

readsol

Purpose
Read a solution from a file.
Synopsis
procedure readsol(fname:string,options:string)
Synopsis
procedure readsol(fname:string,options:string)
procedure readsol(sol:array(mpvar) of real,fname:string,options:string)
procedure readsol(sol:mpsol,fname:string,options:string)
procedure readsol(sol:mpvar,fname:string,options:string)
Arguments
fname 
Extended file name
options 
String of options
sol 
Object to load the solution into
Further information
This procedure reads in a solution from a file by calling the function XPRSreadslxsol of the Optimizer. Note that solution save/read procedures can be used only if the constraint and variable names have been loaded into the Optimizer (control parameter XPRS_loadnames set to true) and all constraints are named. For more detail on the options and behavior of this procedure refer to the Xpress Optimizer Reference Manual.
Related topics
Module

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.