<?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=Quickguide_GOAL_Problem</id>
	<title>Quickguide GOAL Problem - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://tomwiki.com/index.php?action=history&amp;feed=atom&amp;title=Quickguide_GOAL_Problem"/>
	<link rel="alternate" type="text/html" href="http://tomwiki.com/index.php?title=Quickguide_GOAL_Problem&amp;action=history"/>
	<updated>2026-11-03T00:20:52Z</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=Quickguide_GOAL_Problem&amp;diff=2527&amp;oldid=prev</id>
		<title>Elias at 22:17, 17 January 2012</title>
		<link rel="alternate" type="text/html" href="http://tomwiki.com/index.php?title=Quickguide_GOAL_Problem&amp;diff=2527&amp;oldid=prev"/>
		<updated>2012-01-17T22:17:22Z</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 17:17, 17 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-l4&quot;&gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&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;math&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;math&amp;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;\begin{array}{cccccc}    \min\limits_x &amp;amp; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\multicolumn{5}{l}&lt;/del&gt;{\max \ \ lam: r(x) - w * lam \leq g} \\    \mbox{subject to} &amp;amp; x_L &amp;amp; \leq &amp;amp;   x  &amp;amp; \leq &amp;amp; x_U \\    {}                &amp;amp; b_L &amp;amp; \leq &amp;amp;  Ax  &amp;amp; \leq &amp;amp; b_U \\    {}                &amp;amp; c_L &amp;amp; \leq &amp;amp; c(x) &amp;amp; \leq &amp;amp; c_U \\\end{array}&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;\begin{array}{cccccc}    \min\limits_x &amp;amp; {\max \ \ lam: r(x) - w * lam \leq g} \\    \mbox{subject to} &amp;amp; x_L &amp;amp; \leq &amp;amp;   x  &amp;amp; \leq &amp;amp; x_U \\    {}                &amp;amp; b_L &amp;amp; \leq &amp;amp;  Ax  &amp;amp; \leq &amp;amp; b_U \\    {}                &amp;amp; c_L &amp;amp; \leq &amp;amp; c(x) &amp;amp; \leq &amp;amp; c_U \\\end{array}&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;/math&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;/math&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;where &amp;lt;math&amp;gt;x,x_L,x_U \in R^{n}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;r(x) \in R^{N}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c(x),c_L,c_U&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;where &amp;lt;math&amp;gt;x,x_L,x_U \in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\mathbb{&lt;/ins&gt;R&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}&lt;/ins&gt;^{n}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;r(x) \in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\mathbb{&lt;/ins&gt;R&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}&lt;/ins&gt;^{N}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c(x),c_L,c_U&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;\in R^{m_1}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b_L,b_U \in R^{m_2}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;A\in R^{m_2 \times&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;\in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\mathbb{&lt;/ins&gt;R&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}&lt;/ins&gt;^{m_1}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b_L,b_U \in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\mathbb{&lt;/ins&gt;R&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}&lt;/ins&gt;^{m_2}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;A\in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\mathbb{&lt;/ins&gt;R&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}&lt;/ins&gt;^{m_2 \times&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;n}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;g \in R^{m}&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;w \in R^{m}&amp;lt;/math&amp;gt;.&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;n}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;g \in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\mathbb{&lt;/ins&gt;R&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}&lt;/ins&gt;^{m}&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;w \in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\mathbb{&lt;/ins&gt;R&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}&lt;/ins&gt;^{m}&amp;lt;/math&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;&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 goal solution can be obtained by the use of any suitable nonlinear &amp;lt;span class=&amp;quot;roman&amp;quot;&amp;gt;TOMLAB&amp;lt;/span&amp;gt; solver.&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 goal solution can be obtained by the use of any suitable nonlinear &amp;lt;span class=&amp;quot;roman&amp;quot;&amp;gt;TOMLAB&amp;lt;/span&amp;gt; solver.&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-l30&quot;&gt;Line 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&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;Open the file for viewing, and execute goalsQG in Matlab.&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;Open the file for viewing, and execute goalsQG in Matlab.&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;&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;syntaxhighlight &lt;/del&gt;lang=&amp;quot;matlab&amp;quot;&amp;gt;&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;&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;source &lt;/ins&gt;lang=&amp;quot;matlab&amp;quot;&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;div&gt;  % goalsQG is a small example problem for defining and solving&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;  % goalsQG is a small example problem for defining and solving&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;  % multi criteria optimization problems using the TOMLAB format.&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;  % multi criteria optimization problems 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-lineno&quot; id=&quot;mw-diff-left-l56&quot;&gt;Line 56:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 56:&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;  PriLev = 2;              &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;  PriLev = 2;              &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;  Result = tomRun(&amp;#039;goalSolve&amp;#039;, Prob, PriLev);&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;  Result = tomRun(&amp;#039;goalSolve&amp;#039;, Prob, PriLev);&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;&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;syntaxhighlight&lt;/del&gt;&amp;gt;&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;&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;source&lt;/ins&gt;&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=Quickguide_GOAL_Problem&amp;diff=860&amp;oldid=prev</id>
		<title>Elias: Created page with &quot;{{Part Of Manual|title=the Quickguide Manual|link=Quickguide}} The &#039;&#039;&#039;constrained goal attainment&#039;&#039;&#039; (&#039;&#039;&#039;goal&#039;&#039;&#039;) problem is defined as   &lt;math&gt; \begin{array}{cccc...&quot;</title>
		<link rel="alternate" type="text/html" href="http://tomwiki.com/index.php?title=Quickguide_GOAL_Problem&amp;diff=860&amp;oldid=prev"/>
		<updated>2011-08-10T13:48:11Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Part Of Manual|title=the Quickguide Manual|link=&lt;a href=&quot;/index.php?title=Quickguide&quot; title=&quot;Quickguide&quot;&gt;Quickguide&lt;/a&gt;}} The &amp;#039;&amp;#039;&amp;#039;constrained goal attainment&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;goal&amp;#039;&amp;#039;&amp;#039;) problem is defined as   &amp;lt;math&amp;gt; \begin{array}{cccc...&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 Quickguide Manual|link=[[Quickguide|Quickguide]]}}&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;constrained goal attainment&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;goal&amp;#039;&amp;#039;&amp;#039;) problem is defined as&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{array}{cccccc}    \min\limits_x &amp;amp; \multicolumn{5}{l}{\max \ \ lam: r(x) - w * lam \leq g} \\    \mbox{subject to} &amp;amp; x_L &amp;amp; \leq &amp;amp;   x  &amp;amp; \leq &amp;amp; x_U \\    {}                &amp;amp; b_L &amp;amp; \leq &amp;amp;  Ax  &amp;amp; \leq &amp;amp; b_U \\    {}                &amp;amp; c_L &amp;amp; \leq &amp;amp; c(x) &amp;amp; \leq &amp;amp; c_U \\\end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;x,x_L,x_U \in R^{n}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;r(x) \in R^{N}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c(x),c_L,c_U&lt;br /&gt;
\in R^{m_1}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b_L,b_U \in R^{m_2}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;A\in R^{m_2 \times&lt;br /&gt;
n}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;g \in R^{m}&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;w \in R^{m}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The goal solution can be obtained by the use of any suitable nonlinear &amp;lt;span class=&amp;quot;roman&amp;quot;&amp;gt;TOMLAB&amp;lt;/span&amp;gt; solver.&lt;br /&gt;
&lt;br /&gt;
The following files define a problem in TOMLAB.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;File: &amp;#039;&amp;#039;&amp;#039;&amp;lt;span class=&amp;quot;roman&amp;quot;&amp;gt;tomlab/quickguide/goalsQG_r.m, goalsQG_J.m, goalsQG_c, goalsQG_dc&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
r:   Residual vector&lt;br /&gt;
J:   Jacobian matrix&lt;br /&gt;
c:   Nonlinear constraint vector&lt;br /&gt;
dc:  Nonlinear constraint gradient matrix&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following file illustrates how to solve a goal attainment problem in TOMLAB. Also view the m-files specified above for more information.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;File: &amp;#039;&amp;#039;&amp;#039;&amp;lt;span class=&amp;quot;roman&amp;quot;&amp;gt;tomlab/quickguide/goalsQG.m&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open the file for viewing, and execute goalsQG in Matlab.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;matlab&amp;quot;&amp;gt;&lt;br /&gt;
 % goalsQG is a small example problem for defining and solving&lt;br /&gt;
 % multi criteria optimization problems using the TOMLAB format.&lt;br /&gt;
 &lt;br /&gt;
 Name=&amp;#039;EASY-TP355&amp;#039;;&lt;br /&gt;
 % Constrained least squares problem, four quadratic terms and local solutions &lt;br /&gt;
 % Hock W., Schittkowski K. (1981): &lt;br /&gt;
 x_0 = zeros(4,1);    % Lower bounds for x.&lt;br /&gt;
 x_L = zeros(4,1);    % Upper bounds for x.&lt;br /&gt;
 x_U = 1e5*ones(4,1); % Starting point.&lt;br /&gt;
 x_min = [];          % For plotting.&lt;br /&gt;
 x_max = [];          % For plotting.                          &lt;br /&gt;
 A   = [1 0 0 0;0 1 0 0];  % Linear constraints.&lt;br /&gt;
 b_L = [0.1;0.1];          % Lower bounds.&lt;br /&gt;
 b_U = [0.1;0.1];          % Upper bounds.&lt;br /&gt;
 c_L = 0;                  % Lower bounds.                  &lt;br /&gt;
 c_U = 0;                  % Upper bounds.&lt;br /&gt;
 y   = zeros(2,1);         % Residuals&lt;br /&gt;
 &lt;br /&gt;
 Prob = clsAssign(&amp;#039;goalsQG_r&amp;#039;, &amp;#039;goalsQG_J&amp;#039;, [], x_L, x_U, Name, x_0,...&lt;br /&gt;
                  y, [], [], [], [], [],...&lt;br /&gt;
                  A, b_L, b_U, &amp;#039;goalsQG_c&amp;#039;, &amp;#039;goalsQG_dc&amp;#039;, [], c_L, c_U,...&lt;br /&gt;
                  x_min, x_max);&lt;br /&gt;
 &lt;br /&gt;
 PriLev = 2;             &lt;br /&gt;
 Result = tomRun(&amp;#039;goalSolve&amp;#039;, Prob, PriLev);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Elias</name></author>
	</entry>
</feed>