<< sym_isTimeLimitReached Symphony Native Functions sym_loadProblem >>

FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_loadMPS

sym_loadMPS

This routine is used to load an instance from an MPS file.

Calling Sequence

sym_loadMPS(filename)

Description

Arguments

filename

It is a string that has the path of the .mps file to loaded.It has to be given within double quotes ("")

Return value

Returns 0 if the .mps file is loaded properly to symphony and 0 if there is an error reading the mps file or the function returns with an error return value

Examples

status=sym_loadMPS("./sample.mps")  -mps file present in the current directory of execution can be mentioned this way also
status=sym_loadMPS("/home/Desktop/sample.mps")  -mps file present at a different location must be specified with their entire path

Authors


Report an issue
<< sym_isTimeLimitReached Symphony Native Functions sym_loadProblem >>