XPRSreadprob (READPROB)
XPRSreadprob |
READPROB |
int XPRS_CC XPRSreadprob(XPRSprob prob, const char *probname, const char *flags);
READPROB [-flags] [probname]
prob
|
The current problem.
|
||||
probname
|
The path and file name from which the problem is to be read. Limited to
MAXPROBNAMELENGTH characters. If omitted (console users only), the default
problem_name is used with various extensions - see below.
|
||||
flags
|
Flags to be passed:
|
Number of extra columns to be allowed for.
|
|
Number of extra matrix elements to be allowed for.
|
|
Number of extra global entities to be allowed for.
|
|
Number of extra elements to allow for in presolve.
|
|
Number of extra rows to be allowed for.
|
|
Status for nonbinding rows.
|
|
Whether MPS comments are to be echoed.
|
|
Specifies format of MPS files.
|
|
Type of scaling.
|
Double
Tolerance on matrix elements.
|
|
Minimum gap between reference row entries.
|
String
The active bound name.
|
|
Name of objective function row.
|
|
Name of range.
|
|
Name of right hand side.
|
XPRSreadprob(prob,"myprob","");
READPROB -l
MPSOBJNAME="Cost"
MPSRHSNAME="RHS 1"
READPROB
The treatment of N type rows other than the objective function depends on the KEEPNROWS control. If KEEPNROWS is 1 the rows and their elements are kept in memory; if it is 0 the rows are retained, but their elements are removed; and if it is -1 the rows are deleted entirely. The performance impact of retaining such N type rows will be small unless the presolve has been disabled by setting PRESOLVE to 0 prior to optimization.
© 2001-2020 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.