-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclassboa_1_1LinearProblem.html
More file actions
206 lines (195 loc) · 14.4 KB
/
Copy pathclassboa_1_1LinearProblem.html
File metadata and controls
206 lines (195 loc) · 14.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>boa: boa::LinearProblem Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<img id="MSearchSelect" src="search/search.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</div>
</li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div class="navpath"><b>boa</b>::<a class="el" href="classboa_1_1LinearProblem.html">LinearProblem</a>
</div>
</div>
<div class="contents">
<h1>boa::LinearProblem Class Reference</h1><!-- doxytag: class="boa::LinearProblem" -->
<p><a href="classboa_1_1LinearProblem-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a732800f3df4c1eedf87f008ea36d5f96"></a><!-- doxytag: member="boa::LinearProblem::LinearProblem" ref="a732800f3df4c1eedf87f008ea36d5f96" args="(const LinearProblem &old)" -->
</td><td class="memItemRight" valign="bottom"><b>LinearProblem</b> (const <a class="el" href="classboa_1_1LinearProblem.html">LinearProblem</a> &old)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a974ce0aed8e0d048447999cac1f8bdeb"></a><!-- doxytag: member="boa::LinearProblem::operator=" ref="a974ce0aed8e0d048447999cac1f8bdeb" args="(const LinearProblem &old)" -->
<a class="el" href="classboa_1_1LinearProblem.html">LinearProblem</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classboa_1_1LinearProblem.html">LinearProblem</a> &old)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">vector< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classboa_1_1LinearProblem.html#ad69cc6aab63b316849c21ba74fd348de">ElasticFilter</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac35e2e70093ea5e77027ac2d10465e6f"></a><!-- doxytag: member="boa::LinearProblem::SetParams" ref="ac35e2e70093ea5e77027ac2d10465e6f" args="(const glp_smcp &params)" -->
void </td><td class="memItemRight" valign="bottom"><b>SetParams</b> (const glp_smcp &params)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classboa_1_1LinearProblem.html#a501a5007108468f69cc93ef46c6d74cd">Solve</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classboa_1_1LinearProblem.html#aa816253bb18bfaf35a8f4f8481d53fad">RemoveRow</a> (int row)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ade678af9b4fe94d570d8ab2e4c0b4ddb"></a><!-- doxytag: member="boa::LinearProblem::NumCols" ref="ade678af9b4fe94d570d8ab2e4c0b4ddb" args="() const " -->
int </td><td class="memItemRight" valign="bottom"><b>NumCols</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classboa_1_1LinearProblem.html#a4ac52a505613d6e1fa7a8d0f7a2f388e">RemoveInfeasable</a> ()</td></tr>
<tr><td colspan="2"><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a75bcc4fc70d3cb70382972d661be8d2f"></a><!-- doxytag: member="boa::LinearProblem::lp_" ref="a75bcc4fc70d3cb70382972d661be8d2f" args="" -->
glp_prob * </td><td class="memItemRight" valign="bottom"><b>lp_</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0c72e7545012be565d50041e6135f9d0"></a><!-- doxytag: member="boa::LinearProblem::realRows_" ref="a0c72e7545012be565d50041e6135f9d0" args="" -->
int </td><td class="memItemRight" valign="bottom"><b>realRows_</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad499b68975b44f9799fc78143c9f9a5b"></a><!-- doxytag: member="boa::LinearProblem::structuralRows_" ref="ad499b68975b44f9799fc78143c9f9a5b" args="" -->
int </td><td class="memItemRight" valign="bottom"><b>structuralRows_</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae5830f759a51821fa6b43fdf7a482546"></a><!-- doxytag: member="boa::LinearProblem::aliasingRows_" ref="ae5830f759a51821fa6b43fdf7a482546" args="" -->
int </td><td class="memItemRight" valign="bottom"><b>aliasingRows_</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a64bdd7709777f539a903b5e6c619311f"></a><!-- doxytag: member="boa::LinearProblem::varToCol_" ref="a64bdd7709777f539a903b5e6c619311f" args="" -->
map< string, int > </td><td class="memItemRight" valign="bottom"><b>varToCol_</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5975561b0c4dc68b0fd62b597c2010b1"></a><!-- doxytag: member="boa::LinearProblem::colToVar_" ref="a5975561b0c4dc68b0fd62b597c2010b1" args="" -->
map< int, string > </td><td class="memItemRight" valign="bottom"><b>colToVar_</b></td></tr>
<tr><td colspan="2"><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a74f47238425bf0cd9feb5d2bebd5b6f3"></a><!-- doxytag: member="boa::LinearProblem::copyFrom" ref="a74f47238425bf0cd9feb5d2bebd5b6f3" args="(const LinearProblem &old)" -->
void </td><td class="memItemRight" valign="bottom"><b>copyFrom</b> (const <a class="el" href="classboa_1_1LinearProblem.html">LinearProblem</a> &old)</td></tr>
<tr><td colspan="2"><h2>Static Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3539a63c9ef94f051ada769d2f22139e"></a><!-- doxytag: member="boa::LinearProblem::isMax" ref="a3539a63c9ef94f051ada769d2f22139e" args="(string s)" -->
static bool </td><td class="memItemRight" valign="bottom"><b>isMax</b> (string s)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a57c050caed01501cca353444ea53d6c4"></a><!-- doxytag: member="boa::LinearProblem::IsFeasable" ref="a57c050caed01501cca353444ea53d6c4" args="(int status)" -->
static bool </td><td class="memItemRight" valign="bottom"><b>IsFeasable</b> (int status)</td></tr>
<tr><td colspan="2"><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7c312aa0968b8810a159f6cb66e96624"></a><!-- doxytag: member="boa::LinearProblem::params_" ref="a7c312aa0968b8810a159f6cb66e96624" args="" -->
glp_smcp </td><td class="memItemRight" valign="bottom"><b>params_</b></td></tr>
<tr><td colspan="2"><h2>Static Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad06319f6e9273b7447e9eef9afedf55a"></a><!-- doxytag: member="boa::LinearProblem::MAX_VARS" ref="ad06319f6e9273b7447e9eef9afedf55a" args="" -->
static const int </td><td class="memItemRight" valign="bottom"><b>MAX_VARS</b> = 10</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Definition at line <a class="el" href="LinearProblem_8h_source.html#l00018">18</a> of file <a class="el" href="LinearProblem_8h_source.html">LinearProblem.h</a>.</p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ad69cc6aab63b316849c21ba74fd348de"></a><!-- doxytag: member="boa::LinearProblem::ElasticFilter" ref="ad69cc6aab63b316849c21ba74fd348de" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">vector< int > boa::LinearProblem::ElasticFilter </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Efficiently identify a small group of infeasble constraints using elastic fileter algorithm </p>
<p>Definition at line <a class="el" href="LinearProblem_8cpp_source.html#l00012">12</a> of file <a class="el" href="LinearProblem_8cpp_source.html">LinearProblem.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a4ac52a505613d6e1fa7a8d0f7a2f388e"></a><!-- doxytag: member="boa::LinearProblem::RemoveInfeasable" ref="a4ac52a505613d6e1fa7a8d0f7a2f388e" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void boa::LinearProblem::RemoveInfeasable </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Remove a minimal set of constraints that makes the lp inFeasable.</p>
<p>Each of the variables in the removed rows will become "unbound" (e.g. - ...!max >= MAX_INT or ...!min <= MIN_INT).</p>
<p>The removed set is *A* minimal in the sense that these lines alone form an inFeasable problem, and each subset of them does not. It is not nessecerily *THE* minimal set in the sense that there is no such set which is smaller in size. </p>
<p>Definition at line <a class="el" href="LinearProblem_8cpp_source.html#l00081">81</a> of file <a class="el" href="LinearProblem_8cpp_source.html">LinearProblem.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="aa816253bb18bfaf35a8f4f8481d53fad"></a><!-- doxytag: member="boa::LinearProblem::RemoveRow" ref="aa816253bb18bfaf35a8f4f8481d53fad" args="(int row)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void boa::LinearProblem::RemoveRow </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>row</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Remove a row from a linear problem matrix, create "unbound constraints" instead</p>
<p>The new constraints created at the end of the matrix. </p>
<p>Definition at line <a class="el" href="LinearProblem_8cpp_source.html#l00053">53</a> of file <a class="el" href="LinearProblem_8cpp_source.html">LinearProblem.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a501a5007108468f69cc93ef46c6d74cd"></a><!-- doxytag: member="boa::LinearProblem::Solve" ref="a501a5007108468f69cc93ef46c6d74cd" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int boa::LinearProblem::Solve </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Solve the linear problem and return the glpk status </p>
<p>Definition at line <a class="el" href="LinearProblem_8h_source.html#l00076">76</a> of file <a class="el" href="LinearProblem_8h_source.html">LinearProblem.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>source/<a class="el" href="LinearProblem_8h_source.html">LinearProblem.h</a></li>
<li>source/<a class="el" href="LinearProblem_8cpp_source.html">LinearProblem.cpp</a></li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Enumerations</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Sat Mar 19 17:29:27 2011 for boa by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>