<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><FONT 
face="Courier New"><FONT size=2>I am a newcomer OSI/CLP user and I have a doubt 
about adding constraints to an already solved LP.<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>I have mixed two sample codes: <SPAN 
style="mso-spacerun: yes">&nbsp;</SPAN>One of them I found at François Margot 
homepage and the other one is the COIN/Examples/Osi/build.cpp 
file.<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><FONT 
face="Courier New"><FONT size=2>I intend to solve a simple LP problem, add a new 
constraint that cut off the optimal solution and ask the solver to reoptimize 
the problem using dual simplex algorithm, since the current basic solution is 
infeasible after applying the new 
constraint.<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><FONT 
face="Courier New"><FONT size=2><SPAN 
style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN><o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><FONT 
face="Courier New"><FONT size=2>If I try to solve the 
problem:<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><o:p><FONT 
face="Courier New" size=2>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><FONT 
face="Courier New"><FONT size=2>Min z =<SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>–x1 –x2 <o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><FONT 
face="Courier New"><FONT size=2>s.t.<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><FONT 
face="Courier New"><FONT size=2>x1 &lt;= 2<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><FONT 
face="Courier New"><FONT size=2>x2 &lt;= 2<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><FONT 
face="Courier New"><FONT size=2>x1, x2 &gt;= 
0<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><o:p><FONT 
face="Courier New" size=2>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><FONT 
face="Courier New"><FONT size=2>I get the following expected tableau, printed by 
the printOptTab() function:<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><o:p><FONT 
face="Courier New" size=2>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"><SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>x1<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>x2<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>|<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>s1<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>s2<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>|<o:p></o:p></SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"><SPAN 
style="mso-spacerun: yes">&nbsp;</SPAN>1.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>0.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>|<SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>1.00<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>0.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>|<SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>2.00<o:p></o:p></SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"><SPAN 
style="mso-spacerun: yes">&nbsp;</SPAN>0.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>1.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>|<SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>0.00<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>1.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>|<SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>2.00<o:p></o:p></SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US">-----------------------------------<o:p></o:p></SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"><SPAN 
style="mso-spacerun: yes">&nbsp;</SPAN>0.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>0.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>| -1.00 -1.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>| -4.00<o:p></o:p></SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><FONT 
face="Courier New"><FONT size=2>When I add the third 
constraint:<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><FONT 
face="Courier New"><FONT size=2>3x1 + x2 &lt;= 
3,<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><FONT 
face="Courier New"><FONT size=2>the optimal tableau printed 
is:<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><o:p><FONT 
face="Courier New" size=2>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US">Optimal 
Tableau:<o:p></o:p></SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"><SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>x1<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>x2<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>|<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>s1<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>s2<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>s3<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>|<o:p></o:p></SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"><SPAN 
style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">1.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>0.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>|<SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>1.00<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>0.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>0.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>|<SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>0.33<o:p></o:p></SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><SPAN 
style="mso-spacerun: yes">&nbsp;</SPAN>0.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>1.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>|<SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>0.00<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>1.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>0.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>|<SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>2.00<o:p></o:p></SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><SPAN 
style="mso-spacerun: yes">&nbsp;</SPAN>0.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>0.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>| -3.00 -1.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>1.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>|<SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>0.00<o:p></o:p></SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">------------------------------------------<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">-0.00 -0.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>|<SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>0.00 -0.67 -0.33<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>| 
-2.33<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><FONT 
face="Courier New"><FONT size=2>Whereas the expected output 
is<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><o:p><FONT 
face="Courier New" size=2>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US">--------------------------------------------<o:p></o:p></SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US">Optimal 
Tableau:<o:p></o:p></SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"><SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>x1<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>x2<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>|<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>s1<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>s2<SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>s3<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>|<o:p></o:p></SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN lang=EN-US 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"><SPAN 
style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">0.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>0.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>|<SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>1.00<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>0.33 -0.33<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>|<SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>1.67<o:p></o:p></SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><SPAN 
style="mso-spacerun: yes">&nbsp;</SPAN>0.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>1.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>|<SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>0.00<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>1.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>0.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>|<SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>2.00<o:p></o:p></SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><SPAN 
style="mso-spacerun: yes">&nbsp;</SPAN>1.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>0.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>|<SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>0.00 -0.33<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>0.33<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>|<SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>0.33<o:p></o:p></SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">------------------------------------------<o:p></o:p></SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><SPAN 
style="mso-spacerun: yes">&nbsp;</SPAN>0.00 -0.00<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>|<SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>0.00 -0.67 -0.33<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>| 
-2.33<o:p></o:p></SPAN></P>
<P class=MsoNormal 
style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">---------------------------------------------<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><o:p><FONT 
face="Courier New" size=2>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><FONT 
face="Courier New"><FONT size=2>Is something wrong in this kind of coding? 
<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><o:p><FONT 
face="Courier New" size=2>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US 
style="FONT-SIZE: 16pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"><FONT 
size=2>/************************************/<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US 
style="FONT-SIZE: 16pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"><FONT 
size=2>/*<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN>-INF<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>&lt;= 3x1 + x2 &lt;= 
3<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN>*/<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US 
style="FONT-SIZE: 16pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"><FONT 
size=2>/************************************/ <o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US 
style="FONT-SIZE: 16pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"><FONT 
size=2><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; 
</SPAN>si-&gt;disableFactorization();<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US 
style="FONT-SIZE: 16pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"><FONT 
size=2><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; 
</SPAN>CoinPackedVector row2;<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US 
style="FONT-SIZE: 16pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"><FONT 
size=2><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; 
</SPAN>row2.insert(0,3.0);<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US 
style="FONT-SIZE: 16pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"><FONT 
size=2><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>row2.insert(1, 
1.0);<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US 
style="FONT-SIZE: 16pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"><FONT 
size=2><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; 
</SPAN>si-&gt;addRow(row2,-1.0*si-&gt;getInfinity(),3);<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US 
style="FONT-SIZE: 16pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"><FONT 
size=2><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; 
</SPAN>si-&gt;writeLp("example2");<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US 
style="FONT-SIZE: 16pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"><FONT 
size=2><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; 
</SPAN>si-&gt;enableFactorization();<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US 
style="FONT-SIZE: 16pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US"><FONT 
size=2><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; 
</SPAN>si-&gt;resolve();<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><o:p><FONT 
face="Courier New" size=2>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><FONT 
face="Courier New"><FONT size=2>Is it forbidden to reoptimize the LP problem 
after adding new constraints? I suppose not since dual reoptimization is a must 
in Branch&amp;Cut approaches.<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><o:p><FONT 
face="Courier New" size=2>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><FONT 
face="Courier New"><FONT size=2>And finally, I have another doubt. After solving 
a LP problem can I change a coefficient cost of the objective function and 
reoptimize the problem using primal 
reoptimization?<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><o:p><FONT 
face="Courier New" size=2>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><FONT 
face="Courier New"><FONT size=2>I attached the whole project for better 
analysis.<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><o:p><FONT 
face="Courier New" size=2>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><FONT 
face="Courier New"><FONT size=2>Thank you in 
advance,<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><o:p><FONT 
face="Courier New" size=2>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><o:p><FONT 
face="Courier New" size=2>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><FONT 
face="Courier New"><FONT size=2>Luis H 
Sacchi<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><o:p><FONT 
face="Courier New" size=2>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify"><SPAN 
lang=EN-US 
style="FONT-SIZE: 16pt; mso-ansi-language: EN-US"><o:p>&nbsp;</o:p></SPAN></P></DIV></BODY></HTML>