<?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=Models_Telecommunication</id>
	<title>Models Telecommunication - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://tomwiki.com/index.php?action=history&amp;feed=atom&amp;title=Models_Telecommunication"/>
	<link rel="alternate" type="text/html" href="http://tomwiki.com/index.php?title=Models_Telecommunication&amp;action=history"/>
	<updated>2026-11-01T22:27:13Z</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=Models_Telecommunication&amp;diff=2561&amp;oldid=prev</id>
		<title>Elias at 23:00, 17 January 2012</title>
		<link rel="alternate" type="text/html" href="http://tomwiki.com/index.php?title=Models_Telecommunication&amp;diff=2561&amp;oldid=prev"/>
		<updated>2012-01-17T23:00:21Z</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 18:00, 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-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&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;==Network reliability==&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;==Network reliability==&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;% function Result = networkreliabilityEx(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;% function Result = networkreliabilityEx(PriLev)&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-lineno&quot; id=&quot;mw-diff-left-l101&quot;&gt;Line 101:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 101:&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;% 060116 per   Added documentation.&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;% 060116 per   Added documentation.&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;% 060126 per   Moved disp to end&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;% 060126 per   Moved disp to end&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;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;==Dimensioning of a mobile phone network==&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;==Dimensioning of a mobile phone network==&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;% function Result = dimofamobilephonenetworkEx(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;% function Result = dimofamobilephonenetworkEx(PriLev)&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-lineno&quot; id=&quot;mw-diff-left-l251&quot;&gt;Line 251:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 251:&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;% 060116 per   Added documentation.&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;% 060116 per   Added documentation.&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;% 060126 per   Moved disp to end&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;% 060126 per   Moved disp to end&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;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;==Routing telephone calls==&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;==Routing telephone calls==&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;% function Result = routingtelephonecallsEx(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;% function Result = routingtelephonecallsEx(PriLev)&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-lineno&quot; id=&quot;mw-diff-left-l455&quot;&gt;Line 455:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 455:&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;% 060116 per   Added documentation.&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;% 060116 per   Added documentation.&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;% 060126 per   Moved disp to end&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;% 060126 per   Moved disp to end&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;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;==Construction of a cabled network==&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;==Construction of a cabled network==&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;% function Result = constructionofacablednetworkEx(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;% function Result = constructionofacablednetworkEx(PriLev)&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-lineno&quot; id=&quot;mw-diff-left-l552&quot;&gt;Line 552:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 552:&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;% 060116 per   Added documentation.&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;% 060116 per   Added documentation.&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;% 060126 per   Moved disp to end&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;% 060126 per   Moved disp to end&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;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;==Scheduling of telecommunications via satellite==&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;==Scheduling of telecommunications via satellite==&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;% function Result = schedulingofteleviasatelliteEx(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;% function Result = schedulingofteleviasatelliteEx(PriLev)&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-lineno&quot; id=&quot;mw-diff-left-l723&quot;&gt;Line 723:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 723:&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;% 060126 per   Moved disp to end&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;% 060126 per   Moved disp to end&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;% 060131 per   cleaned up help text&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;% 060131 per   cleaned up help text&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;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;==Location of GSM transmitters==&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;==Location of GSM transmitters==&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;% function Result = locationofgsmtransmittersEx(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;% function Result = locationofgsmtransmittersEx(PriLev)&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-lineno&quot; id=&quot;mw-diff-left-l860&quot;&gt;Line 860:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 860:&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;% 060116 per   Added documentation.&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;% 060116 per   Added documentation.&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;% 060126 per   Moved disp to end&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;% 060126 per   Moved disp to end&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=Models_Telecommunication&amp;diff=928&amp;oldid=prev</id>
		<title>Elias: Created page with &quot;{{Part Of Manual|title=TOMLAB Models|link=TOMLAB Models}} ==Network reliability==  &lt;syntaxhighlight lang=&quot;matlab&quot;&gt; % function Result = networkreliabilityEx(PriLev) % %...&quot;</title>
		<link rel="alternate" type="text/html" href="http://tomwiki.com/index.php?title=Models_Telecommunication&amp;diff=928&amp;oldid=prev"/>
		<updated>2011-08-12T13:11:27Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Part Of Manual|title=TOMLAB Models|link=&lt;a href=&quot;/index.php?title=Models&quot; title=&quot;Models&quot;&gt;TOMLAB Models&lt;/a&gt;}} ==Network reliability==  &amp;lt;syntaxhighlight lang=&amp;quot;matlab&amp;quot;&amp;gt; % function Result = networkreliabilityEx(PriLev) % %...&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=TOMLAB Models|link=[[Models|TOMLAB Models]]}}&lt;br /&gt;
==Network reliability==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;matlab&amp;quot;&amp;gt;&lt;br /&gt;
% function Result = networkreliabilityEx(PriLev)&lt;br /&gt;
%&lt;br /&gt;
% Creates a TOMLAB MIP problem for network reliability&lt;br /&gt;
%&lt;br /&gt;
% NETWORK RELIABILITY&lt;br /&gt;
%&lt;br /&gt;
% We consider the military telecommunications network represented&lt;br /&gt;
% below. This network consists of eleven sites connected by&lt;br /&gt;
% bidirectional lines for data transmission. For reliability reasons&lt;br /&gt;
% in the case of a conflict, the specifications require that the two&lt;br /&gt;
% sites (nodes) 10 and 11 of the network remain able to communicate&lt;br /&gt;
% even if any three other sites of the network are destroyed. Does&lt;br /&gt;
% the network satisfy this requirement?&lt;br /&gt;
%&lt;br /&gt;
%&lt;br /&gt;
%         1 --- 2 ---------- 8&lt;br /&gt;
%&lt;br /&gt;
%      /  |   / |          / |&lt;br /&gt;
%     /   |  /  |         /  |&lt;br /&gt;
%    /    | /   |        /   |&lt;br /&gt;
%               |            |&lt;br /&gt;
%  11 --- 3  ---+---- 10     |&lt;br /&gt;
%               |            |&lt;br /&gt;
%   | \ /   \   |   / |  \   |&lt;br /&gt;
%   |  X     \  |  /  |   |  |&lt;br /&gt;
%   | / \     \ | /   |   |  |&lt;br /&gt;
%                     |   |  |&lt;br /&gt;
%   4 --- 5 --- 9     |   |  |&lt;br /&gt;
%                     |   |  |&lt;br /&gt;
%     \         |    /    |  |&lt;br /&gt;
%      \        |   /     \  |&lt;br /&gt;
%       \       |  /       \ |&lt;br /&gt;
%        \&lt;br /&gt;
%         ----- 6 ---------- 7&lt;br /&gt;
%&lt;br /&gt;
%&lt;br /&gt;
%&lt;br /&gt;
% VARIABLES&lt;br /&gt;
%&lt;br /&gt;
% arcs_out/in                For an arc i arcs_out(i) is its starting node&lt;br /&gt;
%                            and arcs_in(i) ts target node&lt;br /&gt;
%&lt;br /&gt;
% RESULTS&lt;br /&gt;
%&lt;br /&gt;
% for an interpretation of the results, use a PriLev &amp;gt; 1, for example&lt;br /&gt;
% Result =   networkreliabilityEx(2);&lt;br /&gt;
%&lt;br /&gt;
% REFERENCES&lt;br /&gt;
%&lt;br /&gt;
% Applications of optimization... Gueret, Prins, Seveaux&lt;br /&gt;
% http://web.univ-ubs.fr/lester/~sevaux/pl/index.php&lt;br /&gt;
%&lt;br /&gt;
% INPUT PARAMETERS&lt;br /&gt;
% PriLev       Print Level&lt;br /&gt;
%&lt;br /&gt;
% OUTPUT PARAMETERS&lt;br /&gt;
% Result       Result structure.&lt;br /&gt;
&lt;br /&gt;
% Marcus Edvall, Tomlab Optimization Inc, E-mail: tomlab@tomopt.com&lt;br /&gt;
% Copyright (c) 2005-2005 by Tomlab Optimization Inc., $Release: 5.0.0$&lt;br /&gt;
% Written Nov 7, 2005.   Last modified Nov 7, 2005.&lt;br /&gt;
&lt;br /&gt;
function Result = networkreliabilityEx(PriLev)&lt;br /&gt;
&lt;br /&gt;
if nargin &amp;lt; 1&lt;br /&gt;
   PriLev = 1;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
arcs_in    = [1 1  1 2 2 2 3 3  3  3 4 4  4 5  5 6 6  6 7  7  8  9]&amp;#039;;&lt;br /&gt;
arcs_out   = [2 3 11 3 8 9 4 9 10 11 5 6 11 9 11 7 9 10 8 10 10 10]&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
Prob = networkreliability(arcs_in, arcs_out);&lt;br /&gt;
Result = tomRun(&amp;#039;cplex&amp;#039;, Prob, PriLev);&lt;br /&gt;
&lt;br /&gt;
if PriLev &amp;gt; 1,&lt;br /&gt;
   f      = - Result.f_k;&lt;br /&gt;
   x      = - Result.x_k;&lt;br /&gt;
   disp([&amp;#039;The network can manage the loss of &amp;#039; num2str(f-1) &amp;#039; nodes.&amp;#039;])&lt;br /&gt;
   disp([&amp;#039;There are &amp;#039; num2str(f) &amp;#039; disjunctive paths.&amp;#039;])&lt;br /&gt;
   [arcs,direction] = find(reshape(x,length(arcs_in),2));&lt;br /&gt;
   disp(&amp;#039;For a maximal number of disjunctive paths, activate...&amp;#039;)&lt;br /&gt;
   for arc = 1:length(arcs),&lt;br /&gt;
      if direction(arc) == 1,&lt;br /&gt;
         disp([&amp;#039; arc &amp;#039; num2str([arcs_out(arcs(arc))]) &amp;#039;-&amp;gt;&amp;#039; ...&lt;br /&gt;
               num2str([arcs_in(arcs(arc))])])&lt;br /&gt;
      end&lt;br /&gt;
      if direction(arc) == 2,&lt;br /&gt;
         disp([&amp;#039; arc &amp;#039; num2str([arcs_in(arcs(arc))]) &amp;#039;-&amp;gt;&amp;#039;  ...&lt;br /&gt;
               num2str([arcs_out(arcs(arc))])])&lt;br /&gt;
      end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
% MODIFICATION LOG&lt;br /&gt;
%&lt;br /&gt;
% 051107 med   Created.&lt;br /&gt;
% 060116 per   Added documentation.&lt;br /&gt;
% 060126 per   Moved disp to end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Dimensioning of a mobile phone network==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;matlab&amp;quot;&amp;gt;&lt;br /&gt;
% function Result = dimofamobilephonenetworkEx(PriLev)&lt;br /&gt;
%&lt;br /&gt;
% Creates a TOMLAB MIP problem for dimensioning of a mobile phone network&lt;br /&gt;
%&lt;br /&gt;
% DIMENSIONING OF A MOBILE PHONE NETWORK&lt;br /&gt;
%&lt;br /&gt;
% The figure below represents the typical architecture of a mobile&lt;br /&gt;
% phone network. Every elementary geographical zone or cell is served&lt;br /&gt;
% by a transmitter-receiver called a relay. The calls originating&lt;br /&gt;
% from a mobile phone first pass through these relays. Every relay is&lt;br /&gt;
% connected by cable or electro-magnetic waves to a transit node&lt;br /&gt;
% (hub). One of the hubs controls the network, this is the MTSO&lt;br /&gt;
% (Mobile Telephone Switching Office). A very reliable ring of fiber&lt;br /&gt;
% optic cable connects the hubs and the MTSO with high capacity&lt;br /&gt;
% links. It is capable of re-establishing itself in the case of a&lt;br /&gt;
% breakdown (self-healing ring) and there is no need to replicate it.&lt;br /&gt;
%&lt;br /&gt;
% At the present state of technology, there are no dynamic&lt;br /&gt;
% connections between the relays and the MTSO. The connections are&lt;br /&gt;
% fixed during the design phase, so it is necessary to choose the&lt;br /&gt;
% nodes of the ring that a relay should be connected to. The number&lt;br /&gt;
% of links between a cell c and the ring is called the diversity of&lt;br /&gt;
% the cell c, denoted by CNCTc. A diversity larger than 1 is&lt;br /&gt;
% recommended for making the system more reliable.&lt;br /&gt;
%&lt;br /&gt;
% The traffic in this kind of system is entirely digitized, expressed&lt;br /&gt;
% in values equivalent to bidirectional circuits at 64kbps (kilobit&lt;br /&gt;
% per second). This capacity corresponds to the number of&lt;br /&gt;
% simultaneous calls during peak periods. The ring has edges of known&lt;br /&gt;
% capacity CAP. The traffic TRAFc from a cell c is divided into equal&lt;br /&gt;
% parts (TRAFc / CNCTc) among the connections to the ring. This&lt;br /&gt;
% traffic is transmitted via the ring to the MTSO, that then routes&lt;br /&gt;
% it to another cell or to a hub that serves as the interface to the&lt;br /&gt;
% fixed-line telephone network. A relay may be connected directly to&lt;br /&gt;
% the MTSO that also has the functions of an ordinary hub.&lt;br /&gt;
%&lt;br /&gt;
% We consider a network of 10 cells and a ring of 5 nodes with a&lt;br /&gt;
% capacity of CAP = 48 circuits. The MTSO is at node 5. The following&lt;br /&gt;
% table indicates the traffic, the required number of connections and&lt;br /&gt;
% the cost per connection in thousand $ per cell. For example, cell 1&lt;br /&gt;
% is connectable with node 1 for a cost of $15,000. Its diversity is&lt;br /&gt;
% 2, which means it must be connected to at least two nodes of the&lt;br /&gt;
% ring. Its traffic capacity is of 22 simultaneous circuits. The&lt;br /&gt;
% objective is to define the connections of the cells to the ring&lt;br /&gt;
% that minimize the connection costs whilst remaining within the&lt;br /&gt;
% capacity limits and satisfying the constraints on the number of&lt;br /&gt;
% connections.&lt;br /&gt;
%&lt;br /&gt;
% Structure of a mobile phone network&lt;br /&gt;
%&lt;br /&gt;
%    Cell 1&lt;br /&gt;
%    2 connections&lt;br /&gt;
%&lt;br /&gt;
%    Relay ---------\&lt;br /&gt;
%                    \&lt;br /&gt;
%     |               \&lt;br /&gt;
%     |                \&lt;br /&gt;
%     |                 |&lt;br /&gt;
%     V                 V&lt;br /&gt;
%&lt;br /&gt;
%    hub2 ============ hub3 &amp;lt;-- Relay&lt;br /&gt;
%                               cell 2&lt;br /&gt;
%     ||                ||      1 connection&lt;br /&gt;
%     ||                ||&lt;br /&gt;
%     ||                ||&lt;br /&gt;
%&lt;br /&gt;
%    hub1 === MTSO === hub4&lt;br /&gt;
%&lt;br /&gt;
% Connection costs, traffic and number of connections per cell&lt;br /&gt;
%&lt;br /&gt;
% +------------+--+--+--+--+--+--+--+--+--+--+&lt;br /&gt;
% |Cell        | 1| 2| 3| 4| 5| 6| 7| 8| 9|10|&lt;br /&gt;
% +------------+--+--+--+--+--+--+--+--+--+--+&lt;br /&gt;
% |Hub 1       |15| 9|12|17| 8| 7|19|20|21|25|&lt;br /&gt;
% |Hub 2       | 8|11| 6| 5|22|25|25| 9|22|24|&lt;br /&gt;
% |Hub 3       | 7| 8| 7| 9|21|15|21|15|14|13|&lt;br /&gt;
% |Hub 4       |11| 5|15|18|19| 9|20|18|16| 4|&lt;br /&gt;
% |Hub 5 (MTSO)|10|14|15|24| 6|17|22|25|20|11|&lt;br /&gt;
% +------------+--+--+--+--+--+--+--+--+--+--+&lt;br /&gt;
% |Traffic     |22|12|20|12|15|25|15|14| 8|22|&lt;br /&gt;
% +------------+--+--+--+--+--+--+--+--+--+--+&lt;br /&gt;
% |Connections | 2| 2| 2| 2| 3| 1| 3| 2| 2| 2|&lt;br /&gt;
% +------------+--+--+--+--+--+--+--+--+--+--+&lt;br /&gt;
%&lt;br /&gt;
% VARIABLES&lt;br /&gt;
%&lt;br /&gt;
% hub_mat                    Matrix describing the hubs&lt;br /&gt;
% traffic                    Traffic from cells&lt;br /&gt;
% connections                Possible connections per cell&lt;br /&gt;
% capacity                   Capacity&lt;br /&gt;
%&lt;br /&gt;
% RESULTS&lt;br /&gt;
%&lt;br /&gt;
% For an interpretation of the results, try:&lt;br /&gt;
% Result   = dimofamobilephonenetworkEx(2);&lt;br /&gt;
%&lt;br /&gt;
% REFERENCES&lt;br /&gt;
%&lt;br /&gt;
% Applications of optimization... Gueret, Prins, Seveaux&lt;br /&gt;
% http://web.univ-ubs.fr/lester/~sevaux/pl/index.php&lt;br /&gt;
%&lt;br /&gt;
% INPUT PARAMETERS&lt;br /&gt;
% PriLev       Print Level&lt;br /&gt;
%&lt;br /&gt;
% OUTPUT PARAMETERS&lt;br /&gt;
% Result       Result structure.&lt;br /&gt;
&lt;br /&gt;
% Marcus Edvall, Tomlab Optimization Inc, E-mail: tomlab@tomopt.com&lt;br /&gt;
% Copyright (c) 2005-2005 by Tomlab Optimization Inc., $Release: 5.0.0$&lt;br /&gt;
% Written Nov 8, 2005.   Last modified Nov 8, 2005.&lt;br /&gt;
&lt;br /&gt;
function Result = dimofamobilephonenetworkEx(PriLev)&lt;br /&gt;
&lt;br /&gt;
if nargin &amp;lt; 1&lt;br /&gt;
   PriLev = 1;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
hub_mat     = [15  9 12 17  8  7 19 20 21 25;...&lt;br /&gt;
      8 11  6  5 22 25 25  9 22 24;...&lt;br /&gt;
      7  8  7  9 21 15 21 15 14 13;...&lt;br /&gt;
      11  5 15 18 19  9 20 18 16  4;...&lt;br /&gt;
      10 14 15 24  6 17 22 25 20 11]*1000;&lt;br /&gt;
&lt;br /&gt;
traffic     = [22 12 20 12 15 25 15 14  8 22]&amp;#039;;&lt;br /&gt;
connections = [ 2  2  2  2  3  1  3  2  2  2]&amp;#039;;&lt;br /&gt;
capacity    = 48;&lt;br /&gt;
&lt;br /&gt;
Prob = dimofamobilephonenetwork(hub_mat, traffic, connections,...&lt;br /&gt;
   capacity);&lt;br /&gt;
Result = tomRun(&amp;#039;cplex&amp;#039;, Prob, PriLev);&lt;br /&gt;
&lt;br /&gt;
if PriLev &amp;gt; 1,&lt;br /&gt;
   [h,c] = size(hub_mat) ;&lt;br /&gt;
   temp  = reshape(Result.x_k,c,h);&lt;br /&gt;
   for cell = 1:c,&lt;br /&gt;
      idx    = find(temp(cell,:));&lt;br /&gt;
      disp([&amp;#039;cell &amp;#039; num2str(cell) &amp;#039; connects to hub(s) &amp;#039; num2str(idx)])&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
% MODIFICATION LOG&lt;br /&gt;
%&lt;br /&gt;
% 051108 med   Created.&lt;br /&gt;
% 060116 per   Added documentation.&lt;br /&gt;
% 060126 per   Moved disp to end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Routing telephone calls==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;matlab&amp;quot;&amp;gt;&lt;br /&gt;
% function Result = routingtelephonecallsEx(PriLev)&lt;br /&gt;
%&lt;br /&gt;
% Creates a TOMLAB MIP problem for routing telephone calls&lt;br /&gt;
%&lt;br /&gt;
% ROUTING TELEPHONE CALLS&lt;br /&gt;
%&lt;br /&gt;
% A private telephone company exploits a network, represented in the&lt;br /&gt;
% figure below, between five cities: Paris, Nantes, Nice, Troyes, and&lt;br /&gt;
% Valenciennes.&lt;br /&gt;
%&lt;br /&gt;
% Structure of the network of the company&lt;br /&gt;
%&lt;br /&gt;
% Nantes --(300)-- Paris --(200)-- Valenciennes&lt;br /&gt;
%&lt;br /&gt;
%     \            /                |&lt;br /&gt;
%    (120)      (300)              (70)&lt;br /&gt;
%       \        /                  |&lt;br /&gt;
%&lt;br /&gt;
%          Nice   ----(80)----  Troyes&lt;br /&gt;
%&lt;br /&gt;
% The number beside each edge (connection) is the capacity of the&lt;br /&gt;
% link in terms of circuits. This issue is worth some further&lt;br /&gt;
% explanation. Suppose that a person A at Nantes calls a person B at&lt;br /&gt;
% Nice. The company needs to find a path formed by non-saturated&lt;br /&gt;
% edges from Nantes to Nice to route the binary flow corresponding to&lt;br /&gt;
% the digitized voice of A. But the conversation is only possible if&lt;br /&gt;
% a flow from Nice to Nantes is established so that B may answer A.&lt;br /&gt;
% In digital telephone networks, the binary flows all have the same&lt;br /&gt;
% throughput standard (often 64 kbps). The associated capacity is&lt;br /&gt;
% called a channel. The return channel uses the same edges as the&lt;br /&gt;
% first channel, but in the opposite direction. This linked pair of&lt;br /&gt;
% channels necessary for a telephone conversation is a circuit.&lt;br /&gt;
%&lt;br /&gt;
% The routing of the return channel through the same edges is due to&lt;br /&gt;
% the fact that the call could fail if one waited until the callee&lt;br /&gt;
% picked up the phone before searching for a non-saturated return&lt;br /&gt;
% path. This is why, at the moment of the call, the routing system&lt;br /&gt;
% constructs the path edge by edge and immediately reserves the edges&lt;br /&gt;
% of the return channel. As a consequence, as the capacity of an edge&lt;br /&gt;
% is consumed in increments of a bidirectional circuit, we do not&lt;br /&gt;
% consider any directed flows. For example, there may be 10 persons&lt;br /&gt;
% calling from Nantes to Nice and 20 from Nice to Nantes, or the&lt;br /&gt;
% opposite: in both cases, 30 circuits are used.&lt;br /&gt;
%&lt;br /&gt;
% At a given moment, the company is facing demands for circuits given&lt;br /&gt;
% in the following table. Is it possible to satisfy the demands&lt;br /&gt;
% entirely? If this is not possible, try to transmit as much as&lt;br /&gt;
% possible. In every case, indicate the corresponding routing,&lt;br /&gt;
% that is, the access paths used.&lt;br /&gt;
%&lt;br /&gt;
% Demand of circuits&lt;br /&gt;
%&lt;br /&gt;
% +-------------------+--------+&lt;br /&gt;
% |Cities             |Circuits|&lt;br /&gt;
% +-------------------+--------+&lt;br /&gt;
% |Nantes-Nice        |  100   |&lt;br /&gt;
% |Nantes-Troyes      |   80   |&lt;br /&gt;
% |Nantes-Valenciennes|   75   |&lt;br /&gt;
% |Nice-Valenciennes  |  100   |&lt;br /&gt;
% |Paris-Troyes       |   70   |&lt;br /&gt;
% +-------------------+--------+&lt;br /&gt;
%&lt;br /&gt;
%&lt;br /&gt;
% VARIABLES&lt;br /&gt;
%&lt;br /&gt;
% arcs_out/in                For an arc i arcs_out(i) is its starting node&lt;br /&gt;
%                            and arcs_in(i) ts target node&lt;br /&gt;
% capacity                   Capacity of arcs&lt;br /&gt;
% demand_out/in              For a demand i demand_out(i) is its starting node&lt;br /&gt;
%                            and demand_in(i) its target node&lt;br /&gt;
% demands                    Demand&lt;br /&gt;
% path_mat                   Possible paths&lt;br /&gt;
% paths                      In/Out of possible paths&lt;br /&gt;
%&lt;br /&gt;
% RESULTS&lt;br /&gt;
%&lt;br /&gt;
% For an interpretation of the results, try:&lt;br /&gt;
% Result = routingtelephonecallsEx(2);&lt;br /&gt;
%&lt;br /&gt;
% REFERENCES&lt;br /&gt;
%&lt;br /&gt;
% Applications of optimization... Gueret, Prins, Seveaux&lt;br /&gt;
% http://web.univ-ubs.fr/lester/~sevaux/pl/index.php&lt;br /&gt;
%&lt;br /&gt;
% INPUT PARAMETERS&lt;br /&gt;
% PriLev       Print Level&lt;br /&gt;
%&lt;br /&gt;
% OUTPUT PARAMETERS&lt;br /&gt;
% Result       Result structure.&lt;br /&gt;
&lt;br /&gt;
% Marcus Edvall, Tomlab Optimization Inc, E-mail: tomlab@tomopt.com&lt;br /&gt;
% Copyright (c) 2005-2005 by Tomlab Optimization Inc., $Release: 5.0.0$&lt;br /&gt;
% Written Nov 22, 2005.   Last modified Nov 22, 2005.&lt;br /&gt;
&lt;br /&gt;
function Result = routingtelephonecallsEx(PriLev)&lt;br /&gt;
&lt;br /&gt;
if nargin &amp;lt; 1&lt;br /&gt;
   PriLev = 1;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
% Nantes, Paris, Nice, Valenciennes, Troyes&lt;br /&gt;
&lt;br /&gt;
arcs_in     = [1 1 2 2 3 4]&amp;#039;;&lt;br /&gt;
arcs_out    = [2 3 3 4 5 5]&amp;#039;;&lt;br /&gt;
capacity    = [300 120 300 200 80 70]&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
demand_in   = [1 1 1 3 2]&amp;#039;;&lt;br /&gt;
demand_out  = [3 5 4 4 5]&amp;#039;;&lt;br /&gt;
demands     = [100 80 75 100 70]&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
path_mat    = [1 3 0 0 0;...&lt;br /&gt;
      1 2 3 0 0;...&lt;br /&gt;
      1 2 4 5 3;...&lt;br /&gt;
      1 2 4 5 0;...&lt;br /&gt;
      1 2 3 5 0;...&lt;br /&gt;
      1 3 5 0 0;...&lt;br /&gt;
      1 3 2 4 5;...&lt;br /&gt;
      1 2 4 0 0;...&lt;br /&gt;
      1 3 2 4 0;...&lt;br /&gt;
      1 2 3 5 4;...&lt;br /&gt;
      1 3 5 4 0;...&lt;br /&gt;
      3 1 2 4 0;...&lt;br /&gt;
      3 2 4 0 0;...&lt;br /&gt;
      3 5 4 0 0;...&lt;br /&gt;
      2 4 5 0 0;...&lt;br /&gt;
      2 1 3 5 0;...&lt;br /&gt;
      2 3 5 0 0];&lt;br /&gt;
&lt;br /&gt;
paths       = [1 3;...&lt;br /&gt;
      1 3;...&lt;br /&gt;
      1 3;...&lt;br /&gt;
      1 5;...&lt;br /&gt;
      1 5;...&lt;br /&gt;
      1 5;...&lt;br /&gt;
      1 5;...&lt;br /&gt;
      1 4;...&lt;br /&gt;
      1 4;...&lt;br /&gt;
      1 4;...&lt;br /&gt;
      1 4;...&lt;br /&gt;
      3 4;...&lt;br /&gt;
      3 4;...&lt;br /&gt;
      3 4;...&lt;br /&gt;
      2 5;...&lt;br /&gt;
      2 5;...&lt;br /&gt;
      2 5];&lt;br /&gt;
&lt;br /&gt;
Prob = routingtelephonecalls(arcs_in, arcs_out, capacity,...&lt;br /&gt;
   demand_in, demand_out, demands, path_mat, paths);&lt;br /&gt;
Result = tomRun(&amp;#039;cplex&amp;#039;, Prob, PriLev);&lt;br /&gt;
&lt;br /&gt;
if PriLev &amp;gt; 1,&lt;br /&gt;
   paths  = Result.x_k;&lt;br /&gt;
   idx = find(paths);&lt;br /&gt;
   load = [];&lt;br /&gt;
   cities = [&amp;#039;Nant&amp;#039;; &amp;#039;Pari&amp;#039;; &amp;#039;Nice&amp;#039;; &amp;#039;Vale&amp;#039;; &amp;#039;Troy&amp;#039;];&lt;br /&gt;
   disp(&amp;#039;INCOMING AND OUTGOING CIRCUITS&amp;#039;)&lt;br /&gt;
   for i = 1:length(idx),&lt;br /&gt;
      id = idx(i);&lt;br /&gt;
      temp_path = path_mat(id,:);&lt;br /&gt;
      temp_path = temp_path(find(temp_path));&lt;br /&gt;
      city_path = [];&lt;br /&gt;
      for city = 1:length(temp_path),&lt;br /&gt;
         city = temp_path(city);&lt;br /&gt;
         city_path = [city_path cities(city,:) &amp;#039; &amp;#039; ];&lt;br /&gt;
      end&lt;br /&gt;
      disp([&amp;#039;   &amp;#039; num2str(paths(id)) &amp;#039; circuits &amp;#039; ...&lt;br /&gt;
            cities(temp_path(1),:) &amp;#039;-&amp;#039; cities(temp_path(end),:) ...&lt;br /&gt;
            &amp;#039; using the following path: &amp;#039; num2str(city_path)])&lt;br /&gt;
      for j = 2:length(temp_path),&lt;br /&gt;
         out = temp_path(j-1);&lt;br /&gt;
         in  = temp_path(j);&lt;br /&gt;
         if in &amp;lt; out,&lt;br /&gt;
            in_temp = in;&lt;br /&gt;
            in = out;&lt;br /&gt;
            out = in_temp;&lt;br /&gt;
         end&lt;br /&gt;
         if (size(load) &amp;gt; [out in]),&lt;br /&gt;
            load(out,in) = load(out,in) + paths(id);&lt;br /&gt;
         else&lt;br /&gt;
            load(out,in) = paths(id);&lt;br /&gt;
         end&lt;br /&gt;
      end&lt;br /&gt;
   end&lt;br /&gt;
   disp(&amp;#039;LOAD BETWEEN CITIES&amp;#039;)&lt;br /&gt;
   for i = 1:length(cities)-1,&lt;br /&gt;
      for j = 1:length(cities),&lt;br /&gt;
         if load(i,j) &amp;gt; 0,&lt;br /&gt;
            disp([&amp;#039;   between &amp;#039; cities(i,:) &amp;#039; and &amp;#039; cities(j,:) &amp;#039;: &amp;#039; ...&lt;br /&gt;
                  num2str(load(i,j)) &amp;#039; circuits.&amp;#039; ])&lt;br /&gt;
         end&lt;br /&gt;
      end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
% MODIFICATION LOG&lt;br /&gt;
%&lt;br /&gt;
% 051122 med   Created.&lt;br /&gt;
% 060116 per   Added documentation.&lt;br /&gt;
% 060126 per   Moved disp to end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Construction of a cabled network==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;matlab&amp;quot;&amp;gt;&lt;br /&gt;
% function Result = constructionofacablednetworkEx(PriLev)&lt;br /&gt;
%&lt;br /&gt;
% Creates a TOMLAB MIP problem for construction of a cabled network&lt;br /&gt;
%&lt;br /&gt;
% CONSTRUCTION OF A CABLED NETWORK&lt;br /&gt;
%&lt;br /&gt;
% A university wishes to connect six terminals located in different&lt;br /&gt;
% buildings of its campus. The distances, in meters, between the&lt;br /&gt;
% different terminals are given in the table below.&lt;br /&gt;
%&lt;br /&gt;
% Distances between the different terminals (in meters)&lt;br /&gt;
%&lt;br /&gt;
% +----------+---+---+---+---+---+---+&lt;br /&gt;
% |          | T1| T2| T3| T4| T5| T6|&lt;br /&gt;
% +----------+---+---+---+---+---+---+&lt;br /&gt;
% |Terminal 1|  0|120| 92|265|149|194|&lt;br /&gt;
% |Terminal 2|120|  0|141|170| 93|164|&lt;br /&gt;
% |Terminal 3| 92|141|  0|218|103|116|&lt;br /&gt;
% |Terminal 4|265|170|218|  0|110|126|&lt;br /&gt;
% |Terminal 5|149| 93|103|110|  0| 72|&lt;br /&gt;
% |Terminal 6|194|164|116|126| 72|  0|&lt;br /&gt;
% +----------+---+---+---+---+---+---+&lt;br /&gt;
%&lt;br /&gt;
% These terminals are to be connected via underground cables. We&lt;br /&gt;
% suppose the cost of connecting two terminals is proportional to the&lt;br /&gt;
% distance between them. Determine the connections to install to&lt;br /&gt;
% minimize the total cost.&lt;br /&gt;
%&lt;br /&gt;
% VARIABLES&lt;br /&gt;
%&lt;br /&gt;
% distances                  a distance matrix&lt;br /&gt;
%&lt;br /&gt;
% RESULTS&lt;br /&gt;
%&lt;br /&gt;
% for an interpretation of the results, let PriLev &amp;gt; 1, for example:&lt;br /&gt;
% Result = constructionofacablednetworkEx(2); % call solver&lt;br /&gt;
%&lt;br /&gt;
% REFERENCES&lt;br /&gt;
%&lt;br /&gt;
% Applications of optimization... Gueret, Prins, Seveaux&lt;br /&gt;
% http://web.univ-ubs.fr/lester/~sevaux/pl/index.php&lt;br /&gt;
%&lt;br /&gt;
% INPUT PARAMETERS&lt;br /&gt;
% PriLev       Print Level&lt;br /&gt;
%&lt;br /&gt;
% OUTPUT PARAMETERS&lt;br /&gt;
% Result       Result structure.&lt;br /&gt;
&lt;br /&gt;
% Marcus Edvall, Tomlab Optimization Inc, E-mail: tomlab@tomopt.com&lt;br /&gt;
% Copyright (c) 2005-2005 by Tomlab Optimization Inc., $Release: 5.0.0$&lt;br /&gt;
% Written Nov 22, 2005.   Last modified Nov 22, 2005.&lt;br /&gt;
&lt;br /&gt;
function Result = constructionofacablednetworkEx(PriLev)&lt;br /&gt;
&lt;br /&gt;
if nargin &amp;lt; 1&lt;br /&gt;
   PriLev = 1;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
distances    = [  0 120  92 265 149 194;...&lt;br /&gt;
      120   0 141 170  93 164;...&lt;br /&gt;
      92 141   0 218 103 116;...&lt;br /&gt;
      265 170 218   0 110 126;...&lt;br /&gt;
      149  93 103 110   0  72;...&lt;br /&gt;
      194 164 116 126  72   0];&lt;br /&gt;
&lt;br /&gt;
Prob = constructionofacablednetwork(distances);&lt;br /&gt;
Result = tomRun(&amp;#039;cplex&amp;#039;, Prob, PriLev);&lt;br /&gt;
&lt;br /&gt;
if PriLev &amp;gt; 1,&lt;br /&gt;
   t      = size(distances,1);                 % number of terminals&lt;br /&gt;
   s      = sum(1:t-1);                        % possible connections&lt;br /&gt;
   arcs   = [];                                % empty set of arcs&lt;br /&gt;
   count  = 1;                                 % counter&lt;br /&gt;
   for i = 1:t-1,                              % we catch true arcs&lt;br /&gt;
      for j = i+1:t,&lt;br /&gt;
         if Result.x_k(count) == 1,&lt;br /&gt;
            arcs  = [arcs ; i j];&lt;br /&gt;
         end&lt;br /&gt;
         count = count + 1;&lt;br /&gt;
      end&lt;br /&gt;
   end&lt;br /&gt;
   for arc = 1:length(arcs),&lt;br /&gt;
      arc = arcs(arc,:);&lt;br /&gt;
      disp([&amp;#039;connect the terminals &amp;#039; num2str(arc(1)) &amp;#039; and &amp;#039; num2str(arc(2)) ])&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
% MODIFICATION LOG&lt;br /&gt;
%&lt;br /&gt;
% 051122 med   Created.&lt;br /&gt;
% 060116 per   Added documentation.&lt;br /&gt;
% 060126 per   Moved disp to end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Scheduling of telecommunications via satellite==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;matlab&amp;quot;&amp;gt;&lt;br /&gt;
% function Result = schedulingofteleviasatelliteEx(PriLev)&lt;br /&gt;
%&lt;br /&gt;
% Creates a TOMLAB MIP problem for scheduling of telecommunications via&lt;br /&gt;
% satellite&lt;br /&gt;
%&lt;br /&gt;
% SCHEDULING OF TELECOMMUNICATIONS VIA SATELLITE&lt;br /&gt;
%&lt;br /&gt;
% A digital telecommunications system via satellite consists of a&lt;br /&gt;
% satellite and a set of stations on earth which serve as interfaces&lt;br /&gt;
% with the terrestrial network. With SS-TDMA (Satellite-Switch, Time&lt;br /&gt;
% Division Multiple Access) access technology, the satellite divides&lt;br /&gt;
% its time among the stations. Consider for example the transmissions&lt;br /&gt;
% from four transmitter stations in the US to four receiver stations&lt;br /&gt;
% in Europe. The following table gives a possible 4 × 4 traffic&lt;br /&gt;
% matrix. TRAFtr is the quantity of data transmitted from station t&lt;br /&gt;
% to station r. It is expressed in seconds of transmission duration,&lt;br /&gt;
% because all lines have the same constant transmission rate.&lt;br /&gt;
%&lt;br /&gt;
% Matrix TRAF with its lower bound LB&lt;br /&gt;
%&lt;br /&gt;
%  +----+--+--+--+--+-------+&lt;br /&gt;
%  |TRAF| 1| 2| 3| 4| rowt  |&lt;br /&gt;
%  +----+--+--+--+--+-------+&lt;br /&gt;
%  |  1 | 0| 7|11|15|   33  |&lt;br /&gt;
%  |  2 |15| 8|13| 9|   45  |&lt;br /&gt;
%  |  3 |17|12| 6|10|   45  |&lt;br /&gt;
%  |  4 | 6|13|15| 4|   38  |&lt;br /&gt;
%  +----+--+--+--+--+-------+&lt;br /&gt;
%  |colr|38|40|45|38|LB = 45|&lt;br /&gt;
%  +----+--+--+--+--+-------+&lt;br /&gt;
%&lt;br /&gt;
% The satellite has a switch that allows any permutation between the&lt;br /&gt;
% four transmitters and the four receivers. The figure below gives an&lt;br /&gt;
% example of a permutation connecting the transmitters 1 to 4 to the&lt;br /&gt;
% receivers 3, 4, 1, and 2 respectively. These connections allow&lt;br /&gt;
% routing a part of the traffic matrix, called a mode. A part of a&lt;br /&gt;
% matrix entry transmitted during a mode is a packet of data. A mode&lt;br /&gt;
% is thus a 4 × 4 matrix M with at most one non-zero packet per row&lt;br /&gt;
% and column and such that Mtr &amp;lt;= TRAFtr for all t, r. To every&lt;br /&gt;
% mode corresponds a slice of a schedule as shown in the figure.&lt;br /&gt;
%&lt;br /&gt;
%  +----+--+--+--+--+         +---------+---------------+&lt;br /&gt;
%  |TRAF| 1| 2| 3| 4|         |Stations | Packets       |&lt;br /&gt;
%  +----+--+--+--+--+         +---------+---------------+&lt;br /&gt;
%  |  1 | 0| 0|11| 0|         | 1 --&amp;gt; 3 |-----11---&amp;gt;    |&lt;br /&gt;
%  |  2 | 0| 0| 0| 9|         | 2 --&amp;gt; 4 |------9-&amp;gt;      |&lt;br /&gt;
%  |  3 |15| 0| 0| 0|         | 3 --&amp;gt; 1 |-----15-------&amp;gt;|&lt;br /&gt;
%  |  4 | 0|13| 0| 0|         | 4 --&amp;gt; 2 |-----13-----&amp;gt;  |&lt;br /&gt;
%  +----+--+--+--+--+         +---------+---------------+&lt;br /&gt;
%  |colr|38|40|45|38|LB = 45&lt;br /&gt;
%  +----+--+--+--+--+&lt;br /&gt;
%&lt;br /&gt;
%&lt;br /&gt;
% Example of a mode and associated schedule&lt;br /&gt;
%&lt;br /&gt;
% A valid schedule of transmissions defines a sequence of&lt;br /&gt;
% permutations for the on-board switch that routes all the traffic of&lt;br /&gt;
% the matrix TRAF. In other words, this boils down to decomposing&lt;br /&gt;
% TRAF into a sum of mode matrices. An element of TRAF may be&lt;br /&gt;
% fragmented, like TRAF31 that is only partially transmitted in the&lt;br /&gt;
% mode represented in the figure above. A fragmented element will&lt;br /&gt;
% appear in several packets and several modes of the final&lt;br /&gt;
% decomposition. The duration of a mode is the length of its longest&lt;br /&gt;
% packet. The objective is to find a schedule with minimal total duration.&lt;br /&gt;
%&lt;br /&gt;
% VARIABLES&lt;br /&gt;
%&lt;br /&gt;
% traffic                    A matrix describing the traffic&lt;br /&gt;
%&lt;br /&gt;
% RESULTS&lt;br /&gt;
%&lt;br /&gt;
% For an interpretation of the results, let PriLev &amp;gt; 1,&lt;br /&gt;
% schedulingofteleviasatelliteEx(2);&lt;br /&gt;
%&lt;br /&gt;
% REFERENCES&lt;br /&gt;
%&lt;br /&gt;
% Applications of optimization... Gueret, Prins, Seveaux&lt;br /&gt;
% http://web.univ-ubs.fr/lester/~sevaux/pl/index.php&lt;br /&gt;
%&lt;br /&gt;
% INPUT PARAMETERS&lt;br /&gt;
% PriLev       Print Level&lt;br /&gt;
%&lt;br /&gt;
% OUTPUT PARAMETERS&lt;br /&gt;
% Result       Result structure.&lt;br /&gt;
&lt;br /&gt;
% Marcus Edvall, Tomlab Optimization Inc, E-mail: tomlab@tomopt.com&lt;br /&gt;
% Copyright (c) 2005-2005 by Tomlab Optimization Inc., $Release: 5.0.0$&lt;br /&gt;
% Written Nov 22, 2005.   Last modified Nov 22, 2005.&lt;br /&gt;
&lt;br /&gt;
function Result = schedulingofteleviasatelliteEx(PriLev)&lt;br /&gt;
&lt;br /&gt;
if nargin &amp;lt; 1&lt;br /&gt;
   PriLev = 1;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
if PriLev &amp;gt; 1,    % if:   PriLev &amp;gt; 1&lt;br /&gt;
   sequence = []; % then: let us catch all x_k&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
traffic      = [  0   7  11  15;...&lt;br /&gt;
      15   8  13   9;...&lt;br /&gt;
      17  12   6  10;...&lt;br /&gt;
      6  13  15   4];&lt;br /&gt;
&lt;br /&gt;
TQBS = schedulingofteleviasatellite(traffic);&lt;br /&gt;
&lt;br /&gt;
while sum(sum(TQBS)) &amp;gt; 0.01&lt;br /&gt;
   n1   = size(TQBS,1);&lt;br /&gt;
   n2   = n1^2;&lt;br /&gt;
   n    = n2 + 1;&lt;br /&gt;
   x_L  = zeros(n,1);&lt;br /&gt;
   x_U  = [ones(n2,1);inf];&lt;br /&gt;
   IntVars = [ones(n2,1);0];&lt;br /&gt;
   b_L1 = ones(n1,1);&lt;br /&gt;
   b_U1 = ones(n1,1);&lt;br /&gt;
   b_L2 = ones(n1,1);&lt;br /&gt;
   b_U2 = ones(n1,1);&lt;br /&gt;
   b_L3 = zeros(n1,1);&lt;br /&gt;
   b_U3 = inf*ones(n1,1);&lt;br /&gt;
   A1   = zeros(n1,n);&lt;br /&gt;
   A2   = zeros(n1,n);&lt;br /&gt;
   A3   = zeros(n1,n);&lt;br /&gt;
   for i=1:n1&lt;br /&gt;
      idx1  = [(i-1)*n1+1:i*n1];&lt;br /&gt;
      idx2  = find(TQBS(:,i) == 0);&lt;br /&gt;
      idx1(idx2) = [];&lt;br /&gt;
      idx3  = [i:n1:n2-n1+i];&lt;br /&gt;
      idx4  = find(TQBS(i,:) == 0);&lt;br /&gt;
      idx3(idx4) = [];&lt;br /&gt;
      A1(i,idx1) = ones(1,length(idx1));&lt;br /&gt;
      A2(i,idx3) = ones(1,length(idx3));&lt;br /&gt;
      A3(i,(i-1)*n1+1:i*n1) = TQBS(:,i)&amp;#039;;&lt;br /&gt;
      A3(i,end) = -1;&lt;br /&gt;
   end&lt;br /&gt;
   c = [zeros(n2,1);-1];&lt;br /&gt;
   Prob = mipAssign(c, [A1;A2;A3], [b_L1;b_L2;b_L3], [b_U1;b_U2;b_U3], x_L, x_U, [], &amp;#039;Satellite Scheduling&amp;#039;,...&lt;br /&gt;
      [], [], IntVars);&lt;br /&gt;
   Result = tomRun(&amp;#039;cplex&amp;#039;, Prob, 0);&lt;br /&gt;
   x_k = Result.x_k;&lt;br /&gt;
   x_k = reshape(x_k(1:end-1), n1, n1);&lt;br /&gt;
   TQBS = TQBS - x_k*(-Result.f_k);&lt;br /&gt;
&lt;br /&gt;
   if PriLev &amp;gt; 1,&lt;br /&gt;
      sequence = [sequence Result.x_k];&lt;br /&gt;
   end&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
PrintResult(Result,PriLev);&lt;br /&gt;
&lt;br /&gt;
if PriLev &amp;gt; 1,&lt;br /&gt;
   for t = 1:size(sequence,2),&lt;br /&gt;
      disp([&amp;#039;Transmission &amp;#039; num2str(t) &amp;#039; transfers &amp;#039; num2str(sequence(end,t)) &amp;#039; packet(s) of data&amp;#039; ])&lt;br /&gt;
      this = reshape(sequence(1:end-1,t),n1,n1);&lt;br /&gt;
      this(find(this &amp;lt; 0.5))  = 0; % remove bad zeros&lt;br /&gt;
      for j = 1:n1,&lt;br /&gt;
         disp([&amp;#039;   from station &amp;#039; num2str(j) &amp;#039; to &amp;#039; num2str(find(this(j,:))) ])&lt;br /&gt;
      end&lt;br /&gt;
   end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
% MODIFICATION LOG&lt;br /&gt;
%&lt;br /&gt;
% 051122 med   Created.&lt;br /&gt;
% 060116 per   Added documentation.&lt;br /&gt;
% 060126 per   Moved disp to end&lt;br /&gt;
% 060131 per   cleaned up help text&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Location of GSM transmitters==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;matlab&amp;quot;&amp;gt;&lt;br /&gt;
% function Result = locationofgsmtransmittersEx(PriLev)&lt;br /&gt;
%&lt;br /&gt;
% Creates a TOMLAB MIP problem for location of gsm transmitters&lt;br /&gt;
%&lt;br /&gt;
% LOCATION OF GSM TRANSMITTERS&lt;br /&gt;
%&lt;br /&gt;
% A mobile phone operator decides to equip a currently uncovered&lt;br /&gt;
% geographical zone. The management allocates a budget of $ 10&lt;br /&gt;
% million to equip this region. A study shows that only 7 locations&lt;br /&gt;
% are possible for the construction of the transmitters and it is&lt;br /&gt;
% also known that every transmitter only covers a certain number of&lt;br /&gt;
% communities. The figure below represents a schematic map of the&lt;br /&gt;
% region with the division into communities and the possible&lt;br /&gt;
% locations for transmitters. Every potential site is indicated by&lt;br /&gt;
% four stars and a number, every community is represented by a&lt;br /&gt;
% polygon. The number in the center of a polygon is the number of the&lt;br /&gt;
% community.&lt;br /&gt;
%&lt;br /&gt;
% Certain geographical and topological constraints add to the&lt;br /&gt;
% construction cost and reduce the reach of the GSM transmitters. The&lt;br /&gt;
% table below lists the communities covered and the cost for every&lt;br /&gt;
% site.&lt;br /&gt;
%&lt;br /&gt;
% For every community the number of inhabitants is known (see table).&lt;br /&gt;
% Where should the transmitters be built to cover the largest&lt;br /&gt;
% population with the given budget limit of $ 10M?&lt;br /&gt;
%&lt;br /&gt;
% Map of the region to cover&lt;br /&gt;
%&lt;br /&gt;
% +--------+-------+----------+--------+&lt;br /&gt;
% |        |       *   7     /         |&lt;br /&gt;
% |  1     |   4  *3*       /          |&lt;br /&gt;
% |        *       * /--\  /*      11  |&lt;br /&gt;
% +-------*1*      |/ 10 \/*6*         |&lt;br /&gt;
% |        *\     / \    / -*--+-------+&lt;br /&gt;
% |          \   /   \--/      \       |&lt;br /&gt;
% |           \ /\     |        \  15  |&lt;br /&gt;
% |    2      /   \ 8  |*        \     |&lt;br /&gt;
% |          /     \   *5*  12   *\    +&lt;br /&gt;
% |         /       \  |*       *7*\  /|&lt;br /&gt;
% |        /   5     \ |         *  \/ |&lt;br /&gt;
% +-----*-+       *   \|-----+----- /  |&lt;br /&gt;
% |    *2* \    -*4*---+     |     \ 14|&lt;br /&gt;
% |     *   \  /  *   /      |      \  |&lt;br /&gt;
% |          \/      /   9   |       \ |&lt;br /&gt;
% |   3       \  6  /        |   13   \|&lt;br /&gt;
% |            \   /         |         +&lt;br /&gt;
% +-------------+-+----------+---------+&lt;br /&gt;
%&lt;br /&gt;
% Inhabitants of the communities&lt;br /&gt;
%&lt;br /&gt;
% +--------------------+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+&lt;br /&gt;
% |Community           | 1| 2| 3| 4| 5| 6| 7| 8| 9|10|11|12|13|14|15|&lt;br /&gt;
% +--------------------+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+&lt;br /&gt;
% |Population (in 1000)| 2| 4|13| 6| 9| 4| 8|12|10|11| 6|14| 9| 3| 6|&lt;br /&gt;
% +--------------------+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+&lt;br /&gt;
%&lt;br /&gt;
% Cost and communities covered for every site&lt;br /&gt;
%&lt;br /&gt;
% +-------------------+-----+-----+--------+-------+------+-------------+-----------+&lt;br /&gt;
% |Site               |  1  |  2  |   3    |   4   |  5   |      6      |     7     |&lt;br /&gt;
% +-------------------+-----+-----+--------+-------+------+-------------+-----------+&lt;br /&gt;
% |Cost (in million $)| 1.8 | 1.3 |  4.0   |  3.5  | 3.8  |     2.6     |    2.1    |&lt;br /&gt;
% |Communities covered|1,2,4|2,3,5|4,7,8,10|5,6,8,9|8,9,12|7,10,11,12,15|12,13,14,15|&lt;br /&gt;
% +-------------------+-----+-----+--------+-------+------+-------------+-----------+&lt;br /&gt;
%&lt;br /&gt;
% VARIABLES&lt;br /&gt;
%&lt;br /&gt;
% budget                     Money available&lt;br /&gt;
% cost                       Cost to build site&lt;br /&gt;
% connections                Communities covered by a site&lt;br /&gt;
% population                 People living in communities&lt;br /&gt;
% var1                       30 plus&lt;br /&gt;
% var2                       30 minus&lt;br /&gt;
%&lt;br /&gt;
% RESULTS&lt;br /&gt;
%&lt;br /&gt;
% To interpret the results try the following:&lt;br /&gt;
% Result   = locationofgsmtransmittersEx(2);&lt;br /&gt;
%&lt;br /&gt;
% REFERENCES&lt;br /&gt;
%&lt;br /&gt;
% Applications of optimization... Gueret, Prins, Seveaux&lt;br /&gt;
% http://web.univ-ubs.fr/lester/~sevaux/pl/index.php&lt;br /&gt;
%&lt;br /&gt;
% INPUT PARAMETERS&lt;br /&gt;
% PriLev       Print Level&lt;br /&gt;
%&lt;br /&gt;
% OUTPUT PARAMETERS&lt;br /&gt;
% Result       Result structure.&lt;br /&gt;
&lt;br /&gt;
% Marcus Edvall, Tomlab Optimization Inc, E-mail: tomlab@tomopt.com&lt;br /&gt;
% Copyright (c) 2005-2005 by Tomlab Optimization Inc., $Release: 5.0.0$&lt;br /&gt;
% Written Nov 30, 2005.   Last modified Nov 30, 2005.&lt;br /&gt;
&lt;br /&gt;
function Result = locationofgsmtransmittersEx(PriLev)&lt;br /&gt;
&lt;br /&gt;
if nargin &amp;lt; 1&lt;br /&gt;
   PriLev = 1;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
budget      = 10e6;&lt;br /&gt;
cost        = [1.8 1.3 4.0 3.5 3.8 2.6 2.1]&amp;#039;*1e6;&lt;br /&gt;
&lt;br /&gt;
connections = [ 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0;...&lt;br /&gt;
      0 1 1 0 1 0 0 0 0 0 0 0 0 0 0;...&lt;br /&gt;
      0 0 0 1 0 0 1 1 0 1 0 0 0 0 0;...&lt;br /&gt;
      0 0 0 0 1 1 0 1 1 0 0 0 0 0 0;...&lt;br /&gt;
      0 0 0 0 0 0 0 1 1 0 0 1 0 0 0;...&lt;br /&gt;
      0 0 0 0 0 0 1 0 0 1 1 1 0 0 1;...&lt;br /&gt;
      0 0 0 0 0 0 0 0 0 0 0 1 1 1 1];&lt;br /&gt;
&lt;br /&gt;
population  = [ 2  4 13  6  9  4  8 12 10 11  6 ...&lt;br /&gt;
      14  9  3  6]&amp;#039;*1000;&lt;br /&gt;
&lt;br /&gt;
Prob = locationofgsmtransmitters(budget, cost, connections, ...&lt;br /&gt;
   population);&lt;br /&gt;
Result = tomRun(&amp;#039;cplex&amp;#039;, Prob, PriLev);&lt;br /&gt;
&lt;br /&gt;
if PriLev &amp;gt; 1,&lt;br /&gt;
   [loc,com] = size(connections);&lt;br /&gt;
   build     = Result.x_k(1:loc);&lt;br /&gt;
   cover     = Result.x_k(loc+1:end);&lt;br /&gt;
   disp([&amp;#039;Build at locations &amp;#039; num2str(find(build&amp;#039;))])&lt;br /&gt;
   disp([&amp;#039;Cover communities &amp;#039; num2str(find(cover&amp;#039;))])&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
% MODIFICATION LOG&lt;br /&gt;
%&lt;br /&gt;
% 051130 med   Created.&lt;br /&gt;
% 060116 per   Added documentation.&lt;br /&gt;
% 060126 per   Moved disp to end&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Elias</name></author>
	</entry>
</feed>