<?xml version="1.0" encoding="UTF-8"?> <refentry version="5.0-subset Scilab" xml:id="sym_loadMPS" xml:lang="en" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook"> <refnamediv> <refname>sym_loadMPS</refname> <refpurpose>This routine is used to load an instance from an MPS file.</refpurpose> </refnamediv> <refsynopsisdiv> <title>Calling Sequence</title> <synopsis>sym_loadMPS(filename)</synopsis> </refsynopsisdiv> <refsection> <title>Description</title> </refsection> <refsection> <title>Arguments</title> <variablelist> <varlistentry> <term>filename</term> <listitem><para>It is a string that has the path of the .mps file to loaded.It has to be given within double quotes ("")</para></listitem> </varlistentry> </variablelist> </refsection> <refsection> <title>Return value</title> <para>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</para> </refsection> <refsection> <title>Examples</title> <programlisting role="example">status=sym_loadMPS("./sample.mps") -mps file present in the current directory of execution can be mentioned this way also</programlisting> <programlisting role="example">status=sym_loadMPS("/home/Desktop/sample.mps") -mps file present at a different location must be specified with their entire path</programlisting> </refsection> <refsection> <title>Authors</title> <simplelist type="vert"> <member>Iswarya Hariharan</member> </simplelist> </refsection> </refentry>