<?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=Xpress_Test_Routines_in_Tomlab_Format</id>
	<title>Xpress Test Routines in Tomlab Format - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://tomwiki.com/index.php?action=history&amp;feed=atom&amp;title=Xpress_Test_Routines_in_Tomlab_Format"/>
	<link rel="alternate" type="text/html" href="http://tomwiki.com/index.php?title=Xpress_Test_Routines_in_Tomlab_Format&amp;action=history"/>
	<updated>2026-11-03T06:24:37Z</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=Xpress_Test_Routines_in_Tomlab_Format&amp;diff=2625&amp;oldid=prev</id>
		<title>Elias at 17:26, 22 January 2012</title>
		<link rel="alternate" type="text/html" href="http://tomwiki.com/index.php?title=Xpress_Test_Routines_in_Tomlab_Format&amp;diff=2625&amp;oldid=prev"/>
		<updated>2012-01-22T17:26:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:26, 22 January 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Part Of Manual|title=the Xpress Manual|link=[[Xpress|Xpress Manual]]}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Part Of Manual|title=the Xpress Manual|link=[[Xpress|Xpress Manual]]}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A set of test routines have been defined  illustrating  the combined use of TOMLAB and Xpress&amp;lt;sup&amp;gt;&amp;#039;&amp;#039;MP&amp;#039;&amp;#039;&amp;lt;/sup&amp;gt;. The test routines are shown in &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;xr id=&amp;quot;tab&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;testRoutines&amp;quot; /&amp;gt;&lt;/del&gt;. The knapsack test  routine &amp;#039;&amp;#039;xpknapsTL&amp;#039;&amp;#039; is similar  to &amp;#039;&amp;#039;xpknaps&amp;#039;&amp;#039; discussed in the previous subsection. It runs three knapsack test examples.  It is possible to change the cut strategy and whether to use the knapsack heuristic in the callback routine &amp;#039;&amp;#039;xpcb_gl&amp;#039;&amp;#039;. The problems are setup using the TOMLAB format.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A set of test routines have been defined  illustrating  the combined use of TOMLAB and Xpress&amp;lt;sup&amp;gt;&amp;#039;&amp;#039;MP&amp;#039;&amp;#039;&amp;lt;/sup&amp;gt;. The test routines are shown in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[#Table&lt;/ins&gt;: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The test routines and utilities.]]&lt;/ins&gt;. The knapsack test  routine &amp;#039;&amp;#039;xpknapsTL&amp;#039;&amp;#039; is similar  to &amp;#039;&amp;#039;xpknaps&amp;#039;&amp;#039; discussed in the previous subsection. It runs three knapsack test examples.  It is possible to change the cut strategy and whether to use the knapsack heuristic in the callback routine &amp;#039;&amp;#039;xpcb_gl&amp;#039;&amp;#039;. The problems are setup using the TOMLAB format.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;====Table: The test routines and utilities.====&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;figtable id=&quot;tab:testRoutines&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{|class=&amp;quot;wikitable&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{|class=&amp;quot;wikitable&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|+&amp;lt;caption&gt;The test routines and utilities.&amp;lt;/caption&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-valign=&quot;top&quot;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;!Function||Description  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;!Function||Description  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l16&quot;&gt;Line 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 15:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|[[Xpress Appendix C#xpknapsTL|xpknapsTL]]||The same tests as in &amp;#039;&amp;#039;xpknaps&amp;#039;&amp;#039;, but the TOMLAB  format and system is used.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|[[Xpress Appendix C#xpknapsTL|xpknapsTL]]||The same tests as in &amp;#039;&amp;#039;xpknaps&amp;#039;&amp;#039;, but the TOMLAB  format and system is used.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/figtable&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following example shows how to run a predefined problem, one of the  problems in &amp;#039;&amp;#039;xpknapsTL&amp;#039;&amp;#039;, using  the TOMLAB  Init File (IF) format. Some fields that changes control variables are set to make Xpress&amp;lt;sup&amp;gt;&amp;#039;&amp;#039;MP&amp;#039;&amp;#039;&amp;lt;/sup&amp;gt; work slower. Then a simple predefined heuristic is run to try to improve the convergence. For this example it can get down the number of node visited from 135 to 35.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following example shows how to run a predefined problem, one of the  problems in &amp;#039;&amp;#039;xpknapsTL&amp;#039;&amp;#039;, using  the TOMLAB  Init File (IF) format. Some fields that changes control variables are set to make Xpress&amp;lt;sup&amp;gt;&amp;#039;&amp;#039;MP&amp;#039;&amp;#039;&amp;lt;/sup&amp;gt; work slower. Then a simple predefined heuristic is run to try to improve the convergence. For this example it can get down the number of node visited from 135 to 35.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Elias</name></author>
	</entry>
	<entry>
		<id>http://tomwiki.com/index.php?title=Xpress_Test_Routines_in_Tomlab_Format&amp;diff=1131&amp;oldid=prev</id>
		<title>Elias at 08:48, 3 October 2011</title>
		<link rel="alternate" type="text/html" href="http://tomwiki.com/index.php?title=Xpress_Test_Routines_in_Tomlab_Format&amp;diff=1131&amp;oldid=prev"/>
		<updated>2011-10-03T08:48:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:48, 3 October 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Part Of Manual|title=the Xpress Manual|link=[[Xpress|Xpress Manual]]}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Part Of Manual|title=the Xpress Manual|link=[[Xpress|Xpress Manual]]}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A set of test routines have been defined  illustrating  the combined use of TOMLAB and Xpress&amp;lt;sup&amp;gt;&amp;#039;&amp;#039;MP&amp;#039;&amp;#039;&amp;lt;/sup&amp;gt;. The test routines are shown in &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Table 4&lt;/del&gt;. The knapsack test  routine &amp;#039;&amp;#039;xpknapsTL&amp;#039;&amp;#039; is similar  to &amp;#039;&amp;#039;xpknaps&amp;#039;&amp;#039; discussed in the previous subsection. It runs three knapsack test examples.  It is possible to change the cut strategy and whether to use the knapsack heuristic in the callback routine &amp;#039;&amp;#039;xpcb_gl&amp;#039;&amp;#039;. The problems are setup using the TOMLAB format.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A set of test routines have been defined  illustrating  the combined use of TOMLAB and Xpress&amp;lt;sup&amp;gt;&amp;#039;&amp;#039;MP&amp;#039;&amp;#039;&amp;lt;/sup&amp;gt;. The test routines are shown in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;xr id=&amp;quot;tab:testRoutines&amp;quot; /&amp;gt;&lt;/ins&gt;. The knapsack test  routine &amp;#039;&amp;#039;xpknapsTL&amp;#039;&amp;#039; is similar  to &amp;#039;&amp;#039;xpknaps&amp;#039;&amp;#039; discussed in the previous subsection. It runs three knapsack test examples.  It is possible to change the cut strategy and whether to use the knapsack heuristic in the callback routine &amp;#039;&amp;#039;xpcb_gl&amp;#039;&amp;#039;. The problems are setup using the TOMLAB format.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;figtable id=&quot;tab:testRoutines&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{|class=&amp;quot;wikitable&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{|class=&amp;quot;wikitable&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|+&amp;lt;caption&amp;gt;The test routines and utilities.&amp;lt;/caption&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|+&amp;lt;caption&amp;gt;The test routines and utilities.&amp;lt;/caption&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l15&quot;&gt;Line 15:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|[[Xpress Appendix C#xpknapsTL|xpknapsTL]]||The same tests as in &amp;#039;&amp;#039;xpknaps&amp;#039;&amp;#039;, but the TOMLAB  format and system is used.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|[[Xpress Appendix C#xpknapsTL|xpknapsTL]]||The same tests as in &amp;#039;&amp;#039;xpknaps&amp;#039;&amp;#039;, but the TOMLAB  format and system is used.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/figtable&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following example shows how to run a predefined problem, one of the  problems in &amp;#039;&amp;#039;xpknapsTL&amp;#039;&amp;#039;, using  the TOMLAB  Init File (IF) format. Some fields that changes control variables are set to make Xpress&amp;lt;sup&amp;gt;&amp;#039;&amp;#039;MP&amp;#039;&amp;#039;&amp;lt;/sup&amp;gt; work slower. Then a simple predefined heuristic is run to try to improve the convergence. For this example it can get down the number of node visited from 135 to 35.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following example shows how to run a predefined problem, one of the  problems in &amp;#039;&amp;#039;xpknapsTL&amp;#039;&amp;#039;, using  the TOMLAB  Init File (IF) format. Some fields that changes control variables are set to make Xpress&amp;lt;sup&amp;gt;&amp;#039;&amp;#039;MP&amp;#039;&amp;#039;&amp;lt;/sup&amp;gt; work slower. Then a simple predefined heuristic is run to try to improve the convergence. For this example it can get down the number of node visited from 135 to 35.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Elias</name></author>
	</entry>
	<entry>
		<id>http://tomwiki.com/index.php?title=Xpress_Test_Routines_in_Tomlab_Format&amp;diff=1125&amp;oldid=prev</id>
		<title>Elias at 07:59, 29 September 2011</title>
		<link rel="alternate" type="text/html" href="http://tomwiki.com/index.php?title=Xpress_Test_Routines_in_Tomlab_Format&amp;diff=1125&amp;oldid=prev"/>
		<updated>2011-09-29T07:59:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:59, 29 September 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A set of test routines have been defined  illustrating  the combined use of TOMLAB and Xpress &amp;#039;&amp;#039;MP&amp;#039;&amp;#039; The test routines are shown in Table 4. The knapsack test  routine &amp;#039;&amp;#039;xpknapsTL&amp;#039;&amp;#039; is similar  to &amp;#039;&amp;#039;xpknaps&amp;#039;&amp;#039; discussed in the previous subsection. It runs three knapsack test examples.  It is possible to change the cut strategy and whether to use the knapsack heuristic in the callback routine &amp;#039;&amp;#039;xpcb_gl&amp;#039;&amp;#039;. The problems are setup using the TOMLAB format.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Part Of Manual|title=the Xpress Manual|link=[[Xpress|Xpress Manual]]}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A set of test routines have been defined  illustrating  the combined use of TOMLAB and Xpress&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;sup&amp;gt;&lt;/ins&gt;&amp;#039;&amp;#039;MP&amp;#039;&amp;#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/sup&amp;gt;. &lt;/ins&gt;The test routines are shown in Table 4. The knapsack test  routine &amp;#039;&amp;#039;xpknapsTL&amp;#039;&amp;#039; is similar  to &amp;#039;&amp;#039;xpknaps&amp;#039;&amp;#039; discussed in the previous subsection. It runs three knapsack test examples.  It is possible to change the cut strategy and whether to use the knapsack heuristic in the callback routine &amp;#039;&amp;#039;xpcb_gl&amp;#039;&amp;#039;. The problems are setup using the TOMLAB format.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{|class=&amp;quot;wikitable&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{|class=&amp;quot;wikitable&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l6&quot;&gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;!Function||Description  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;!Function||Description  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#039;&amp;#039;&lt;/del&gt;xptomtest1&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#039;&amp;#039;&lt;/del&gt;||Tests of problems predefined in the TOMLAB IF format. LP, QP and MIP problems are solved calling the driver routine &amp;#039;&amp;#039;tomRun&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Xpress Appendix C#&lt;/ins&gt;xptomtest1&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|xptomtest1]]&lt;/ins&gt;||Tests of problems predefined in the TOMLAB IF format. LP, QP and MIP problems are solved calling the driver routine &amp;#039;&amp;#039;tomRun&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#039;&amp;#039;&lt;/del&gt;xptomtest2&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#039;&amp;#039;&lt;/del&gt;||Tests of a simple MIP problem defined in the TOMLAB (TQ) format.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Xpress Appendix C#&lt;/ins&gt;xptomtest2&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|xptomtest2]]&lt;/ins&gt;||Tests of a simple MIP problem defined in the TOMLAB (TQ) format.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The problem is solved as an LP and MIP problem, with or without slacks defined.  &amp;#039;&amp;#039;tomRun&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The problem is solved as an LP and MIP problem, with or without slacks defined.  &amp;#039;&amp;#039;tomRun&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-valign=&amp;quot;top&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#039;&amp;#039;&lt;/del&gt;xpknapsTL&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;#039;&amp;#039;&lt;/del&gt;||The same tests as in &amp;#039;&amp;#039;xpknaps&amp;#039;&amp;#039;, but the TOMLAB  format and system is used.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Xpress Appendix C#&lt;/ins&gt;xpknapsTL&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|xpknapsTL]]&lt;/ins&gt;||The same tests as in &amp;#039;&amp;#039;xpknaps&amp;#039;&amp;#039;, but the TOMLAB  format and system is used.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following example shows how to run a predefined problem, one of the  problems in &amp;#039;&amp;#039;xpknapsTL&amp;#039;&amp;#039;, using  the TOMLAB  Init File (IF) format. Some fields that changes control variables are set to make Xpress&amp;#039;&amp;#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;M P  &lt;/del&gt;&amp;#039;&amp;#039;work slower. Then a simple predefined heuristic is run to try to improve the convergence. For this example it can get down the number of node visited from 135 to 35.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following example shows how to run a predefined problem, one of the  problems in &amp;#039;&amp;#039;xpknapsTL&amp;#039;&amp;#039;, using  the TOMLAB  Init File (IF) format. Some fields that changes control variables are set to make Xpress&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;sup&amp;gt;&lt;/ins&gt;&amp;#039;&amp;#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;MP&lt;/ins&gt;&amp;#039;&amp;#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/sup&amp;gt; &lt;/ins&gt;work slower. Then a simple predefined heuristic is run to try to improve the convergence. For this example it can get down the number of node visited from 135 to 35.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l134&quot;&gt;Line 134:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 135:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following example shows how to define and solve a problem using the TOMLAB  Format (TQ). The matrices and vectors for the problem is defined in a &amp;#039;&amp;#039;mat &amp;#039;&amp;#039;file.  Fields that changes the Xpress&amp;#039;&amp;#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;M P  &lt;/del&gt;&amp;#039;&amp;#039;control variables are set to show how to influence the work of the solver. In this case the changes slow down its performance.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following example shows how to define and solve a problem using the TOMLAB  Format (TQ). The matrices and vectors for the problem is defined in a &amp;#039;&amp;#039;mat &amp;#039;&amp;#039;file.  Fields that changes the Xpress&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;sup&amp;gt;&lt;/ins&gt;&amp;#039;&amp;#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;MP&lt;/ins&gt;&amp;#039;&amp;#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/sup&amp;gt; &lt;/ins&gt;control variables are set to show how to influence the work of the solver. In this case the changes slow down its performance.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Elias</name></author>
	</entry>
	<entry>
		<id>http://tomwiki.com/index.php?title=Xpress_Test_Routines_in_Tomlab_Format&amp;diff=1102&amp;oldid=prev</id>
		<title>Elias: Created page with &quot;A set of test routines have been defined  illustrating  the combined use of TOMLAB and Xpress &#039;&#039;MP&#039;&#039; The test routines are shown in Table 4. The knapsack test  routine &#039;&#039;xpknapsT...&quot;</title>
		<link rel="alternate" type="text/html" href="http://tomwiki.com/index.php?title=Xpress_Test_Routines_in_Tomlab_Format&amp;diff=1102&amp;oldid=prev"/>
		<updated>2011-09-28T09:09:28Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;A set of test routines have been defined  illustrating  the combined use of TOMLAB and Xpress &amp;#039;&amp;#039;MP&amp;#039;&amp;#039; The test routines are shown in Table 4. The knapsack test  routine &amp;#039;&amp;#039;xpknapsT...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A set of test routines have been defined  illustrating  the combined use of TOMLAB and Xpress &amp;#039;&amp;#039;MP&amp;#039;&amp;#039; The test routines are shown in Table 4. The knapsack test  routine &amp;#039;&amp;#039;xpknapsTL&amp;#039;&amp;#039; is similar  to &amp;#039;&amp;#039;xpknaps&amp;#039;&amp;#039; discussed in the previous subsection. It runs three knapsack test examples.  It is possible to change the cut strategy and whether to use the knapsack heuristic in the callback routine &amp;#039;&amp;#039;xpcb_gl&amp;#039;&amp;#039;. The problems are setup using the TOMLAB format.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+&amp;lt;caption&amp;gt;The test routines and utilities.&amp;lt;/caption&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
!Function||Description &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;xptomtest1&amp;#039;&amp;#039;||Tests of problems predefined in the TOMLAB IF format. LP, QP and MIP problems are solved calling the driver routine &amp;#039;&amp;#039;tomRun&amp;#039;&amp;#039;.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;xptomtest2&amp;#039;&amp;#039;||Tests of a simple MIP problem defined in the TOMLAB (TQ) format.&lt;br /&gt;
&lt;br /&gt;
The problem is solved as an LP and MIP problem, with or without slacks defined.  &amp;#039;&amp;#039;tomRun&amp;#039;&amp;#039;.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;xpknapsTL&amp;#039;&amp;#039;||The same tests as in &amp;#039;&amp;#039;xpknaps&amp;#039;&amp;#039;, but the TOMLAB  format and system is used.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The following example shows how to run a predefined problem, one of the  problems in &amp;#039;&amp;#039;xpknapsTL&amp;#039;&amp;#039;, using  the TOMLAB  Init File (IF) format. Some fields that changes control variables are set to make Xpress&amp;#039;&amp;#039;M P  &amp;#039;&amp;#039;work slower. Then a simple predefined heuristic is run to try to improve the convergence. For this example it can get down the number of node visited from 135 to 35.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Prob = ProbInit(&amp;#039;mip_prob&amp;#039;,7); % Create Prob structure from predefined problem&lt;br /&gt;
Prob.MIP&lt;br /&gt;
ans =&lt;br /&gt;
    xpcontrol: []&lt;br /&gt;
      IntVars: [30x1 double]&lt;br /&gt;
    VarWeight: [30x1 double]&lt;br /&gt;
     KNAPSACK: 1&lt;br /&gt;
     callback: [14x1 double]&lt;br /&gt;
% Make Xpress-MP work slower by disabling presolve and cuts.&lt;br /&gt;
Prob.MIP.xpcontrol.CUTSTRATEGY = 0; % Use no cuts&lt;br /&gt;
Prob.MIP.xpcontrol.PRESOLVE = 0;    % Use no presolve&lt;br /&gt;
Prob.MIP.xpcontrol.MIPLOG = 3;      % Call the callback each node&lt;br /&gt;
Result = tomRun(&amp;#039;xpress-mp&amp;#039;,Prob,1); % Call Xpress-MP using Tomlab driver&lt;br /&gt;
&lt;br /&gt;
===== * * * =============================================== * * *&lt;br /&gt;
TOMLAB SOL - Three weeks demonstration single user license&lt;br /&gt;
=================================================================&lt;br /&gt;
Problem: mip_prob -  7: Weingartner 1 - 2/28 0-1 knapsack  f_k -141278.000000000000000000&lt;br /&gt;
                                              User given f(x_*)-141278.000000000000000000&lt;br /&gt;
&lt;br /&gt;
Solver: Xpress-MP.  EXIT=0.  INFORM=6.&lt;br /&gt;
Mex-interface to Xpress-MP LP/QP/MIP/MIQP solver&lt;br /&gt;
Global search complete - integer solution found&lt;br /&gt;
&lt;br /&gt;
FuncEv  135 GradEv    0 Iter  135&lt;br /&gt;
CPU time: 0.250000 sec. Elapsed time: 0.250000 sec.&lt;br /&gt;
&lt;br /&gt;
Prob.MIP.callback(9) = 1; % Enable Global Log callback&lt;br /&gt;
Result = tomRun(&amp;#039;xpress-mp&amp;#039;,Prob,1);&lt;br /&gt;
% Because Prob.MIP.KNAPSACK == 1, the predefined heuristic is tried&lt;br /&gt;
&lt;br /&gt;
--- Global Log. Node      1. Node depth   1. Best Bound -142019.000000.&lt;br /&gt;
Node 1: LP-obj -142019;  Heuristic value -139508 *** Updated cutoff to -139507&lt;br /&gt;
--- Global Log. Node      2. Node depth   2. Best Bound -142019.000000.&lt;br /&gt;
Node 2: LP-obj -141897;  Heuristic value -140768 *** Updated cutoff to -140767&lt;br /&gt;
--- Global Log. Node      3. Node depth   3. Best Bound -142019.000000.&lt;br /&gt;
Node 3: LP-obj -141873;  Heuristic value -138493&lt;br /&gt;
--- Global Log. Node      4. Node depth   4. Best Bound -142019.000000.&lt;br /&gt;
Node 4: LP-obj -141726;  Heuristic value -139618&lt;br /&gt;
--- Global Log. Node      5. Node depth   3. Best Bound -142019.000000.&lt;br /&gt;
Node 5: Not applying heuristic (status is Cutoff in dual)&lt;br /&gt;
--- Global Log. Node      6. Node depth   5. Best Bound -142019.000000.&lt;br /&gt;
Node 6: LP-obj -141707;  Heuristic value -138168&lt;br /&gt;
--- Global Log. Node      7. Node depth   6. Best Bound -142019.000000.&lt;br /&gt;
Node 7: LP-obj -141655;  Heuristic value -138068&lt;br /&gt;
--- Global Log. Node      8. Node depth   5. Best Bound -142019.000000.&lt;br /&gt;
Node 8: Not applying heuristic (status is Cutoff in dual)&lt;br /&gt;
--- Global Log. Node      9. Node depth   6. Best Bound -142019.000000.&lt;br /&gt;
Node 9: Not applying heuristic (status is Infeasible)&lt;br /&gt;
--- Global Log. Node     10. Node depth   6. Best Bound -142019.000000.&lt;br /&gt;
Node 10: Not applying heuristic (status is Cutoff in dual)&lt;br /&gt;
--- Global Log. Node     11. Node depth   2. Best Bound -142019.000000.&lt;br /&gt;
Node 11: LP-obj -141465;  Heuristic value -139508&lt;br /&gt;
--- Global Log. Node     12. Node depth   3. Best Bound -142019.000000.&lt;br /&gt;
Node 12: LP-obj -141062;  Heuristic value -139933&lt;br /&gt;
--- Global Log. Node     13. Node depth   3. Best Bound -142019.000000.&lt;br /&gt;
Node 13: Not applying heuristic (status is Infeasible)&lt;br /&gt;
--- Global Log. Node     14. Node depth   3. Best Bound -142019.000000.&lt;br /&gt;
Node 14: Not applying heuristic (status is Cutoff in dual)&lt;br /&gt;
--- Global Log. Node     15. Node depth   3. Best Bound -141896.953125.&lt;br /&gt;
Node 15: LP-obj -141721;  Heuristic value -141278 *** Updated cutoff to -141277&lt;br /&gt;
--- Global Log. Node     16. Node depth   4. Best Bound -141896.953125.&lt;br /&gt;
Node 16: LP-obj -141694;  Heuristic value -141168&lt;br /&gt;
--- Global Log. Node     17. Node depth   5. Best Bound -141896.953125.&lt;br /&gt;
Node 17: LP-obj -141640;  Heuristic value -141168&lt;br /&gt;
--- Global Log. Node     18. Node depth   6. Best Bound -141896.953125.&lt;br /&gt;
Node 18: LP-obj -141572;  Heuristic value -141278 *** Updated cutoff to -141277&lt;br /&gt;
--- Global Log. Node     19. Node depth   7. Best Bound -141896.953125.&lt;br /&gt;
Node 19: LP-obj -141360;  Heuristic value -141258&lt;br /&gt;
--- Global Log. Node     20. Node depth   7. Best Bound -141896.953125.&lt;br /&gt;
Node 20: LP-obj -141565;  Heuristic value -141278 *** Updated cutoff to -141277&lt;br /&gt;
--- Global Log. Node     21. Node depth   8. Best Bound -141896.953125.&lt;br /&gt;
Node 21: LP-obj -141349;  Heuristic value -141247&lt;br /&gt;
--- Global Log. Node     22. Node depth   8. Best Bound -141896.953125.&lt;br /&gt;
Node 22: LP-obj -141498;  Heuristic value -141278 *** Updated cutoff to -141277&lt;br /&gt;
--- Global Log. Node     23. Node depth   8. Best Bound -141896.953125.&lt;br /&gt;
Node 23: Not applying heuristic (status is Infeasible)&lt;br /&gt;
--- Global Log. Node     24. Node depth   8. Best Bound -141896.953125. Best MIP f(x) -141278.000000&lt;br /&gt;
Node 24: B&amp;amp;B integer solution found; objval -141278&lt;br /&gt;
--- Global Log. Node     25. Node depth   8. Best Bound -141726.000000. Best MIP f(x) -141278.000000&lt;br /&gt;
Node 25: B&amp;amp;B integer solution found; objval -141056&lt;br /&gt;
--- Global Log. Node     26. Node depth   4. Best Bound -141720.515625. Best MIP f(x) -141278.000000&lt;br /&gt;
Node 26: B&amp;amp;B integer solution found; objval -140695&lt;br /&gt;
--- Global Log. Node     27. Node depth   3. Best Bound -141693.593750. Best MIP f(x) -141278.000000&lt;br /&gt;
Node 27: B&amp;amp;B integer solution found; objval -141524&lt;br /&gt;
--- Global Log. Node     28. Node depth   4. Best Bound -141640.000000. Best MIP f(x) -141278.000000&lt;br /&gt;
Node 28: B&amp;amp;B integer solution found; objval -140974&lt;br /&gt;
--- Global Log. Node     29. Node depth   3. Best Bound -141465.140625. Best MIP f(x) -141278.000000&lt;br /&gt;
Node 29: LP-obj -141341;  Heuristic value -139398&lt;br /&gt;
--- Global Log. Node     30. Node depth   3. Best Bound -141465.140625. Best MIP f(x) -141278.000000&lt;br /&gt;
Node 30: Not applying heuristic (status is Cutoff in dual)&lt;br /&gt;
--- Global Log. Node     31. Node depth   3. Best Bound -141465.140625. Best MIP f(x) -141278.000000&lt;br /&gt;
Node 31: Not applying heuristic (status is Infeasible)&lt;br /&gt;
--- Global Log. Node     32. Node depth   3. Best Bound -141360.000000. Best MIP f(x) -141278.000000&lt;br /&gt;
Node 32: Not applying heuristic (status is Cutoff in dual)&lt;br /&gt;
--- Global Log. Node     33. Node depth   7. Best Bound -141360.000000. Best MIP f(x) -141278.000000&lt;br /&gt;
Node 33: Not applying heuristic (status is Infeasible)&lt;br /&gt;
--- Global Log. Node     34. Node depth   7. Best Bound -141349.000000. Best MIP f(x) -141278.000000&lt;br /&gt;
Node 34: Not applying heuristic (status is Cutoff in dual)&lt;br /&gt;
--- Global Log. Node     35. Node depth   8. Best Bound -141349.000000. Best MIP f(x) -141278.000000&lt;br /&gt;
Node 35: Not applying heuristic (status is Infeasible)&lt;br /&gt;
&lt;br /&gt;
===== * * * =============================================== * * *&lt;br /&gt;
TOMLAB SOL - Three weeks demonstration single user license&lt;br /&gt;
=================================================================&lt;br /&gt;
Problem: mip_prob -  7: Weingartner 1 - 2/28 0-1 knapsack  f_k -141278.000000000000000000&lt;br /&gt;
                                              User given f(x_*)-141278.000000000000000000&lt;br /&gt;
&lt;br /&gt;
Solver: Xpress-MP.  EXIT=0.  INFORM=6.&lt;br /&gt;
Mex-interface to Xpress-MP LP/QP/MIP/MIQP solver&lt;br /&gt;
Global search complete - integer solution found&lt;br /&gt;
&lt;br /&gt;
FuncEv   35 GradEv    0 Iter   35&lt;br /&gt;
CPU time: 3.156000 sec. Elapsed time: 3.156000 sec.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following example shows how to define and solve a problem using the TOMLAB  Format (TQ). The matrices and vectors for the problem is defined in a &amp;#039;&amp;#039;mat &amp;#039;&amp;#039;file.  Fields that changes the Xpress&amp;#039;&amp;#039;M P  &amp;#039;&amp;#039;control variables are set to show how to influence the work of the solver. In this case the changes slow down its performance.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
clear all&lt;br /&gt;
load bilp1.mat&lt;br /&gt;
whos&lt;br /&gt;
  Name          Size         Bytes  Class&lt;br /&gt;
&lt;br /&gt;
  A            27x1956      422496  double array&lt;br /&gt;
  b_L          27x1            216  double array&lt;br /&gt;
  b_U          27x1            216  double array&lt;br /&gt;
  c          1956x1          15648  double array&lt;br /&gt;
  noivars    1956x1                15648  double&lt;br /&gt;
  x_L        1956x1          15648  double array&lt;br /&gt;
  x_U        1956x1          15648  double array&lt;br /&gt;
&lt;br /&gt;
Grand total is 58735 elements using 469880 bytes&lt;br /&gt;
&lt;br /&gt;
Prob = mipAssign(c, A, b_L, b_U, x_L, x_U,[],&amp;#039;bilp1&amp;#039;,[],[],noivars);&lt;br /&gt;
Result = tomRun(&amp;#039;xpress-mp&amp;#039;,Prob,1);&lt;br /&gt;
&lt;br /&gt;
===== * * * =============================================== * * *&lt;br /&gt;
TOMLAB SOL - Three weeks demonstration single user license&lt;br /&gt;
=================================================================&lt;br /&gt;
Problem: No Init File    -  1: bilp1            f_k       0.000000000000000000&lt;br /&gt;
                                       sum(|constr|)      0.000000000000025960&lt;br /&gt;
&lt;br /&gt;
Solver: Xpress-MP.  EXIT=0.  INFORM=6.&lt;br /&gt;
Mex-interface to Xpress-MP LP/QP/MIP/MIQP solver&lt;br /&gt;
Global search complete - integer solution found&lt;br /&gt;
&lt;br /&gt;
FuncEv   67 GradEv    0 Iter   67&lt;br /&gt;
CPU time: 4.359000 sec. Elapsed time: 4.375000 sec.&lt;br /&gt;
&lt;br /&gt;
=== * * * ================================================== * * *&lt;br /&gt;
&lt;br /&gt;
Prob.MIP&lt;br /&gt;
ans =&lt;br /&gt;
      IntVars: 1956&lt;br /&gt;
    VarWeight: []&lt;br /&gt;
     KNAPSACK: []&lt;br /&gt;
          fIP: []&lt;br /&gt;
          xIP: []&lt;br /&gt;
           PI: []&lt;br /&gt;
           SC: []&lt;br /&gt;
           SI: []&lt;br /&gt;
         sos1: []&lt;br /&gt;
         sos2: []&lt;br /&gt;
&lt;br /&gt;
% Make Xpress-MP work slower by disabling presolve and cuts.&lt;br /&gt;
Prob.MIP.xpcontrol.CUTSTRATEGY = 0;&lt;br /&gt;
Prob.MIP.xpcontrol.MIPPRESOLVE = 0;&lt;br /&gt;
Prob.MIP.xpcontrol.PRESOLVE = 0;&lt;br /&gt;
Result = tomRun(&amp;#039;xpress-mp&amp;#039;,Prob,2);&lt;br /&gt;
&lt;br /&gt;
===== * * * =============================================== * * *&lt;br /&gt;
TOMLAB SOL - Three weeks demonstration single user license&lt;br /&gt;
=================================================================&lt;br /&gt;
Problem: No Init File    -  1: bilp1            f_k       0.000000000000000000&lt;br /&gt;
                                       sum(|constr|)      0.000000000000020365&lt;br /&gt;
&lt;br /&gt;
Solver: Xpress-MP.  EXIT=0.  INFORM=6.&lt;br /&gt;
Mex-interface to Xpress-MP LP/QP/MIP/MIQP solver&lt;br /&gt;
Global search complete - integer solution found&lt;br /&gt;
&lt;br /&gt;
FuncEv  105 GradEv    0 Iter  105&lt;br /&gt;
CPU time: 0.578000 sec. Elapsed time: 0.578000 sec.&lt;br /&gt;
&lt;br /&gt;
=== * * * ================================================== * * *&lt;br /&gt;
&lt;br /&gt;
Prob.MIP.xpcontrol.MIPPRESOLVE = 7; % Try another MIPPRESOLVE value&lt;br /&gt;
Result = tomRun(&amp;#039;xpress-mp&amp;#039;, Prob, 1);&lt;br /&gt;
&lt;br /&gt;
===== * * * =============================================== * * *&lt;br /&gt;
TOMLAB SOL - Three weeks demonstration single user license&lt;br /&gt;
=================================================================&lt;br /&gt;
Problem: No Init File    -  1: bilp1            f_k       0.000000000000000000&lt;br /&gt;
                                       sum(|constr|)      0.000000000000011373&lt;br /&gt;
&lt;br /&gt;
Solver: Xpress-MP.  EXIT=0.  INFORM=6.&lt;br /&gt;
Mex-interface to Xpress-MP LP/QP/MIP/MIQP solver&lt;br /&gt;
Global search complete - integer solution found&lt;br /&gt;
&lt;br /&gt;
FuncEv   82 GradEv    0 Iter   82&lt;br /&gt;
CPU time: 3.250000 sec. Elapsed time: 3.250000 sec.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Elias</name></author>
	</entry>
</feed>