<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://tomwiki.com/index.php?action=history&amp;feed=atom&amp;title=CPLEX_cpx2mat</id>
	<title>CPLEX cpx2mat - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://tomwiki.com/index.php?action=history&amp;feed=atom&amp;title=CPLEX_cpx2mat"/>
	<link rel="alternate" type="text/html" href="http://tomwiki.com/index.php?title=CPLEX_cpx2mat&amp;action=history"/>
	<updated>2026-11-01T23:03:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>http://tomwiki.com/index.php?title=CPLEX_cpx2mat&amp;diff=960&amp;oldid=prev</id>
		<title>Elias: Created page with &quot;{{Part Of Manual|title=the CPLEX Manual|link=CPLEX}} ==Purpose==  &lt;tt&gt;cpx2mat&lt;/tt&gt; reads an (X)MPS file and more. The file is converted to matrices and vectors made ava...&quot;</title>
		<link rel="alternate" type="text/html" href="http://tomwiki.com/index.php?title=CPLEX_cpx2mat&amp;diff=960&amp;oldid=prev"/>
		<updated>2011-08-15T15:08:20Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Part Of Manual|title=the CPLEX Manual|link=&lt;a href=&quot;/index.php?title=CPLEX&quot; title=&quot;CPLEX&quot;&gt;CPLEX&lt;/a&gt;}} ==Purpose==  &amp;lt;tt&amp;gt;cpx2mat&amp;lt;/tt&amp;gt; reads an (X)MPS file and more. The file is converted to matrices and vectors made ava...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Part Of Manual|title=the CPLEX Manual|link=[[CPLEX|CPLEX]]}}&lt;br /&gt;
==Purpose==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cpx2mat&amp;lt;/tt&amp;gt; reads an (X)MPS file and more. The file is converted to matrices and vectors made available in MATLAB. MPS and extended MPS for LP, MILP, QP and MIQP are the supported file types, however it is possible to supply a wide range of file types.&lt;br /&gt;
&lt;br /&gt;
==Calling Syntax==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[F, c, A, b_L, b_U, x_L, x_U, IntVars] = cpx2mat(Name,PriLev);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Description of Input==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Input||Description&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;Name&amp;#039;&amp;#039;||Name of the MPS file with extension. cpx2mat can recognize many different file extensions, e.g.: .mps, .lp, .mat, .qps.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;PriLev&amp;#039;&amp;#039;||Print level of cpx2mat. Set to 0 to have it silent, 1 to print warnings, and 2 to print debug information.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Description  of Output==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Output||Description&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;F&amp;#039;&amp;#039;||The quadratic term matrix.  Empty for non-QP problems.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;c&amp;#039;&amp;#039;||The linear term vector.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;A&amp;#039;&amp;#039;||The constraint matrix.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;b_L&amp;#039;&amp;#039;||The lower bounds of the constraints.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;b_U&amp;#039;&amp;#039;||The upper bounds of the constraints.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;x_L&amp;#039;&amp;#039;||The lower box bounds of x.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;x_U&amp;#039;&amp;#039;||The upper box bounds of x.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;IntVars&amp;#039;&amp;#039;||Logical vector describing what variables that are integer or binary variables. Empty if the problem is not a mixed integer problem.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Elias</name></author>
	</entry>
</feed>