<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-1652</id>
	<title>Nabble - Gnu - GLPK</title>
	<updated>2009-12-01T10:03:00Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Gnu---GLPK-f1652.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gnu---GLPK-f1652.html" />
	<subtitle type="html">The GLPK (GNU Linear Programming Kit) package is intended for solving large-scale linear programming (LP), mixed integer programming (MIP), and other related problems. It is a set of routines written in ANSI C and organized in the form of a callable library. Gnu - GLPK home is &lt;a href=&quot;http://www.gnu.org/software/glpk/glpk.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26596429</id>
	<title>Re: Linear Programming Relaxation</title>
	<published>2009-12-01T10:03:00Z</published>
	<updated>2009-12-01T10:03:00Z</updated>
	<author>
		<name>Michael Hennebry</name>
	</author>
	<content type="html">On Tue, 1 Dec 2009, RC Loh wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Thank you for your suggestion. I am currently reading up on SOS1 and see whether it is applicable to my problem.
&lt;br&gt;&lt;br&gt;It is.
&lt;br&gt;&lt;br&gt;&amp;gt; According to Andrew, the SOS1 is implemented by a version of Simplex Method. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Then what is the difference between using SOS1 with the Simplex Method compared to using Integer Programming? 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Integer Programming is also using the Simplex Method, isn't it?
&lt;br&gt;&lt;br&gt;Here be much conflation of problem type and solution method.
&lt;br&gt;&lt;br&gt;Integer programming is the solving of optimization problems
&lt;br&gt;all of whose variables are required to be integers.
&lt;br&gt;Mixed integer programming allows some variables to be real.
&lt;br&gt;In either case, a simplex method might or might not be used.
&lt;br&gt;&lt;br&gt;SOS1 is a type of constraint.
&lt;br&gt;It makes the feasible set non-convex.
&lt;br&gt;Simplex methods find local optima.
&lt;br&gt;That is global for a minimization problem
&lt;br&gt;with a convex (e.g. linear) objective function.
&lt;br&gt;It might not be good enough for a problem with an SOS constraint.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Michael &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26596429&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hennebry@...&lt;/a&gt;
&lt;br&gt;&amp;quot;Pessimist: The glass is half empty.
&lt;br&gt;Optimist: &amp;nbsp; The glass is half full.
&lt;br&gt;Engineer: &amp;nbsp; The glass is twice as big as it needs to be.&amp;quot;&lt;br /&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26596429&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Linear-Programming-Relaxation-tp26496144p26596429.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26593661</id>
	<title>Re: Linear Programming Relaxation</title>
	<published>2009-12-01T07:24:30Z</published>
	<updated>2009-12-01T07:24:30Z</updated>
	<author>
		<name>Jeffrey Kantor</name>
	</author>
	<content type="html">On Tue, Dec 1, 2009 at 5:41 AM, RC Loh &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26593661&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rc_loh@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Andrew, Jeffrey,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you for your suggestion. I am currently reading up on SOS1 and see
&lt;br&gt;&amp;gt; whether it is applicable to my problem.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; However, I have another question to clarify.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; According to Andrew, the SOS1 is implemented by a version of Simplex Method.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Then what is the difference between using SOS1 with the Simplex Method
&lt;br&gt;&amp;gt; compared to using Integer Programming?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Integer Programming is also using the Simplex Method, isn't it?
&lt;/div&gt;&lt;br&gt;Yes and No. &amp;nbsp;Integer programming typically involves the iterative
&lt;br&gt;addition of constraints that eventually force the solution of a linear
&lt;br&gt;programming problem to have integer values where desired. You
&lt;br&gt;generally need to solve many linear programming problems in the course
&lt;br&gt;of finding a solution to an MIP problem.
&lt;br&gt;&lt;br&gt;The particular method you use to solve the LP's is therefore a choice
&lt;br&gt;-- which can be a simplex method. &amp;nbsp;You could use an interior point
&lt;br&gt;method, so you could do integer programming without invoking a simplex
&lt;br&gt;routine.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Rdgs,
&lt;br&gt;&amp;gt; Paul
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ________________________________
&lt;br&gt;&amp;gt; From: Andrew Makhorin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26593661&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mao@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26593661&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rc_loh@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26593661&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help-glpk@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Sent: Tuesday, 1 December 2009 5:34:27
&lt;br&gt;&amp;gt; Subject: Re: [Help-glpk] Linear Programming Relaxation
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; What I am trying to obtain is that though using LPR, the solution
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; is bounded, but the solution does not satisfy what I need which is
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;quot;x1+x2&amp;lt;=1&amp;quot; which means that &amp;quot;x1&amp;quot; and &amp;quot;x2&amp;quot; cannot co-exist together in
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; a solution.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; In mathematics &amp;quot;x1+x2&amp;lt;=1&amp;quot; does not mean &amp;quot;that x1 and x2 cannot co-exist
&lt;br&gt;&amp;gt;&amp;gt; together in a solution&amp;quot;; it means that the sum of x1 and x2 is not
&lt;br&gt;&amp;gt;&amp;gt; greater than 1. The constraint you need is &amp;quot;NOT x1 OR NOT x2&amp;quot;; this
&lt;br&gt;&amp;gt;&amp;gt; constraint is *not* equivalent to &amp;quot;x1+x2&amp;lt;=1&amp;quot; until x1 and x2 are
&lt;br&gt;&amp;gt;&amp;gt; restricted to be binary, and being non-convex this constraint cannot be
&lt;br&gt;&amp;gt;&amp;gt; modeled within linear program (LP). If you restrict some variables to
&lt;br&gt;&amp;gt;&amp;gt; be binary, you get integer program (MIP), not LP.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I would like to add that there exists a version of the simplex method
&lt;br&gt;&amp;gt; (which is not implemented in glpk), where you can declare a set of
&lt;br&gt;&amp;gt; variables {x1, x2, ..., xk} to be so called Special Ordered Set of
&lt;br&gt;&amp;gt; Type 1 (SOS1 for brevity). SOS1 means that at most one of its variables
&lt;br&gt;&amp;gt; can be basic while all its other variables must be non-basic. Assuming
&lt;br&gt;&amp;gt; that all variables are non-negative, i.e. xj &amp;gt;= 0, SOS1 then means that
&lt;br&gt;&amp;gt; at most one of its variables can take non-zero value while values of its
&lt;br&gt;&amp;gt; other variables must be zero. Processing SOS1 constraints can be easily
&lt;br&gt;&amp;gt; embedded into the simplex method: if some SOS1 variable is basic,
&lt;br&gt;&amp;gt; a non-basic variable from the same SOS1 must not be chosen to enter the
&lt;br&gt;&amp;gt; basis. However, in general case such version of the simplex method can
&lt;br&gt;&amp;gt; find only a local optimum, because SOS1 constraints are non-convex.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ________________________________
&lt;br&gt;&amp;gt; Get your new Email address!
&lt;br&gt;&amp;gt; Grab the Email name you've always wanted before someone else does!
&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26593661&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Linear-Programming-Relaxation-tp26496144p26593661.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26592346</id>
	<title>Re: Linear Programming Relaxation</title>
	<published>2009-12-01T06:04:58Z</published>
	<updated>2009-12-01T06:04:58Z</updated>
	<author>
		<name>Jeffrey Kantor</name>
	</author>
	<content type="html">You might try this reference:
&lt;br&gt;&lt;br&gt;Smoothed analysis of algorithms: Why the simplex algorithm usually
&lt;br&gt;takes polynomial time -
&lt;br&gt;DA Spielman, SH Teng - Journal of the ACM (JACM), 2004 - portal.acm.org
&lt;br&gt;&lt;br&gt;available here: &lt;a href=&quot;http://arxiv.org/pdf/cs/0111050&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://arxiv.org/pdf/cs/0111050&lt;/a&gt;&amp;nbsp; &amp;nbsp;The introduction to
&lt;br&gt;this paper gives an outstanding discussion of the issues of complexity
&lt;br&gt;in the simplex method. &amp;nbsp;The body of the paper is very dense, but the
&lt;br&gt;introduction is well worth reading for anyone interested in simplex
&lt;br&gt;methods.
&lt;br&gt;&lt;br&gt;Jeff
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Tue, Dec 1, 2009 at 5:32 AM, RC Loh &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26592346&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rc_loh@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Ali,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you for your response.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I was trying to find in the Internet under which conditions did the Simplex
&lt;br&gt;&amp;gt; Method runs in polynomial time but I could not find anything.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Can you direct me to some papers or web site that indicate under which
&lt;br&gt;&amp;gt; conditions will the Simplex Method runs in polynomial time?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Rdgs,
&lt;br&gt;&amp;gt; Paul
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ________________________________
&lt;br&gt;&amp;gt; From: Ali Baharev &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26592346&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ali.baharev@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; To: RC Loh &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26592346&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rc_loh@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26592346&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help-glpk@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Sent: Monday, 30 November 2009 7:50:47
&lt;br&gt;&amp;gt; Subject: Re: [Help-glpk] Linear Programming Relaxation
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; However, when I did the LPR, &amp;quot;x1&amp;quot; and &amp;quot;x2&amp;quot; can become &amp;quot;0.5&amp;quot;. Though it
&lt;br&gt;&amp;gt;&amp;gt; still
&lt;br&gt;&amp;gt;&amp;gt; satisfies the constraint &amp;quot;x1+x2&amp;lt;=1&amp;quot;, but that is NOT what I want.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please re-read Andrew's e-mail:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; LP relaxation is just an LP problem, where all variables are allowed
&lt;br&gt;&amp;gt;&amp;gt; to take any *continuous* values, if only they are satisfied to all LP
&lt;br&gt;&amp;gt;&amp;gt; constraints. You require that x1 + x2 &amp;lt;= 1 but do not require that
&lt;br&gt;&amp;gt;&amp;gt; x1 and x2 are integer-valued, so why do you surprise that you get
&lt;br&gt;&amp;gt;&amp;gt; x1 = x2 = 0.5? Aren't these values satisfy to x1 + x2 &amp;lt;= 1?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please answer his questions.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You have no choice but to declare those variables binary in order to
&lt;br&gt;&amp;gt; achieve what you want.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; And I understand that LP runs in exponential time, however, LPR can run in
&lt;br&gt;&amp;gt;&amp;gt; polynomial time.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Correction: the simplex method shows exponential complexity in the
&lt;br&gt;&amp;gt; worst case. In practice, it runs in polynomial time. This is
&lt;br&gt;&amp;gt; theoretically proven (under certain conditions).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Have you actually faced performance problems with your problems?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Good luck anyhow,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ali
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ________________________________
&lt;br&gt;&amp;gt; New Email names for you!
&lt;br&gt;&amp;gt; Get the Email name you've always wanted on the new @ymail and @rocketmail.
&lt;br&gt;&amp;gt; Hurry before someone else does!
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Help-glpk mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26592346&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26592346&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Linear-Programming-Relaxation-tp26496144p26592346.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26589801</id>
	<title>Re: Linear Programming Relaxation</title>
	<published>2009-12-01T02:41:32Z</published>
	<updated>2009-12-01T02:41:32Z</updated>
	<author>
		<name>Paul Loh</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:arial, helvetica, sans-serif;font-size:14pt&quot;&gt;&lt;DIV&gt;Hi Andrew, Jeffrey,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thank you for your suggestion. I am currently reading up on SOS1 and see whether it is applicable to my problem.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;However, I have another question to clarify. &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;According to Andrew, the SOS1 is&amp;nbsp;implemented by a version of Simplex Method. &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Then what is the difference between using SOS1 with the Simplex Method compared to using Integer Programming? &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Integer Programming is also using the Simplex Method, isn't it?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Rdgs,&lt;/DIV&gt;
&lt;DIV&gt;Paul&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style=&quot;FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 14pt&quot;&gt;&lt;BR&gt;
&lt;DIV style=&quot;FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px&quot;&gt;&lt;FONT size=2 face=Tahoma&gt;
&lt;HR SIZE=1&gt;
&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;From:&lt;/SPAN&gt;&lt;/B&gt; Andrew Makhorin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26589801&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mao@...&lt;/a&gt;&amp;gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;To:&lt;/SPAN&gt;&lt;/B&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26589801&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rc_loh@...&lt;/a&gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Cc:&lt;/SPAN&gt;&lt;/B&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26589801&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help-glpk@...&lt;/a&gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Sent:&lt;/SPAN&gt;&lt;/B&gt; Tuesday, 1 December 2009 5:34:27&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Subject:&lt;/SPAN&gt;&lt;/B&gt; Re: [Help-glpk] Linear Programming Relaxation&lt;BR&gt;&lt;/FONT&gt;&lt;div class='shrinkable-quote'&gt;&lt;BR&gt;&amp;gt;&amp;gt; What I am trying to obtain is that though using LPR, the solution&lt;BR&gt;&amp;gt;&amp;gt; is bounded, but the solution does not satisfy what I need which is&lt;BR&gt;&amp;gt;&amp;gt; &quot;x1+x2&amp;lt;=1&quot; which means that &quot;x1&quot; and &quot;x2&quot; cannot co-exist together in&lt;BR&gt;&amp;gt;&amp;gt; a solution.&lt;BR&gt;&amp;gt; &lt;BR&gt;&amp;gt; In mathematics &quot;x1+x2&amp;lt;=1&quot; does not mean &quot;that x1 and x2 cannot co-exist&lt;BR&gt;&amp;gt; together in a solution&quot;; it means that the sum of x1 and x2 is not&lt;BR&gt;&amp;gt; greater than 1. The constraint you need is &quot;NOT x1 OR NOT x2&quot;; this&lt;BR&gt;&amp;gt; constraint is
 *not* equivalent to &quot;x1+x2&amp;lt;=1&quot; until x1 and x2 are&lt;BR&gt;&amp;gt; restricted to be binary, and being non-convex this constraint cannot be&lt;BR&gt;&amp;gt; modeled within linear program (LP). If you restrict some variables to&lt;BR&gt;&amp;gt; be binary, you get integer program (MIP), not LP.&lt;/div&gt;&lt;BR&gt;I would like to add that there exists a version of the simplex method&lt;BR&gt;(which is not implemented in glpk), where you can declare a set of&lt;BR&gt;variables {x1, x2, ..., xk} to be so called Special Ordered Set of&lt;BR&gt;Type 1 (SOS1 for brevity). SOS1 means that at most one of its variables&lt;BR&gt;can be basic while all its other variables must be non-basic. Assuming&lt;BR&gt;that all variables are non-negative, i.e. xj &amp;gt;= 0, SOS1 then means that&lt;BR&gt;at most one of its variables can take non-zero value while values of its&lt;BR&gt;other variables must be zero. Processing SOS1 constraints can be easily&lt;BR&gt;embedded into the simplex method: if some SOS1 variable is basic,&lt;BR&gt;a non-basic variable from the
 same SOS1 must not be chosen to enter the&lt;BR&gt;basis. However, in general case such version of the simplex method can&lt;BR&gt;find only a local optimum, because SOS1 constraints are non-convex.&lt;BR&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;!-- cg1.c960.mail.sg1.yahoo.com compressed/chunked Fri Nov 20 09:46:39 SGT 2009 --&gt;&lt;/div&gt;&lt;br&gt;
      &lt;hr size=1&gt; &lt;a href=&quot;http://sg.rd.yahoo.com/sg/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/sg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt; Get your new Email address! &lt;/a&gt; &lt;br&gt;
Grab the Email name you&amp;#39;ve always wanted before someone else does!&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26589801&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Linear-Programming-Relaxation-tp26496144p26589801.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26589701</id>
	<title>Re: Linear Programming Relaxation</title>
	<published>2009-12-01T02:32:33Z</published>
	<updated>2009-12-01T02:32:33Z</updated>
	<author>
		<name>Paul Loh</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:arial, helvetica, sans-serif;font-size:14pt&quot;&gt;&lt;DIV&gt;Hi Ali,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thank you for your response. &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I was trying to find in the Internet under which conditions did the Simplex Method runs in polynomial time but I could not find anything.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Can you direct me to some papers or web site that indicate under which conditions will the Simplex Method runs in polynomial time?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thank you.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Rdgs,&lt;/DIV&gt;
&lt;DIV&gt;Paul&lt;BR&gt;&lt;/DIV&gt;
&lt;DIV style=&quot;FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 14pt&quot;&gt;&lt;BR&gt;
&lt;DIV style=&quot;FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px&quot;&gt;&lt;FONT size=2 face=Tahoma&gt;
&lt;HR SIZE=1&gt;
&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;From:&lt;/SPAN&gt;&lt;/B&gt; Ali Baharev &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26589701&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ali.baharev@...&lt;/a&gt;&amp;gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;To:&lt;/SPAN&gt;&lt;/B&gt; RC Loh &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26589701&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rc_loh@...&lt;/a&gt;&amp;gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Cc:&lt;/SPAN&gt;&lt;/B&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26589701&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help-glpk@...&lt;/a&gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Sent:&lt;/SPAN&gt;&lt;/B&gt; Monday, 30 November 2009 7:50:47&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Subject:&lt;/SPAN&gt;&lt;/B&gt; Re: [Help-glpk] Linear Programming Relaxation&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;Hi,&lt;BR&gt;&lt;BR&gt;&amp;gt; However, when I did the LPR, &quot;x1&quot; and &quot;x2&quot; can become &quot;0.5&quot;. Though it still&lt;BR&gt;&amp;gt; satisfies the constraint &quot;x1+x2&amp;lt;=1&quot;, but that is NOT what I want.&lt;BR&gt;&lt;BR&gt;Please re-read Andrew's e-mail:&lt;BR&gt;&lt;BR&gt;&amp;gt; LP relaxation is just an LP problem, where all variables are allowed&lt;BR&gt;&amp;gt; to take any *continuous* values, if only they are satisfied to all LP&lt;BR&gt;&amp;gt; constraints. You require that x1 + x2 &amp;lt;= 1 but do not require that&lt;BR&gt;&amp;gt; x1 and x2 are integer-valued, so why do you surprise
 that you get&lt;BR&gt;&amp;gt; x1 = x2 = 0.5? Aren't these values satisfy to x1 + x2 &amp;lt;= 1?&lt;BR&gt;&lt;BR&gt;Please answer his questions.&lt;BR&gt;&lt;BR&gt;You have no choice but to declare those variables binary in order to&lt;BR&gt;achieve what you want.&lt;BR&gt;&lt;BR&gt;&amp;gt; And I understand that LP runs in exponential time, however, LPR can run in&lt;BR&gt;&amp;gt; polynomial time.&lt;BR&gt;&lt;BR&gt;Correction: the simplex method shows exponential complexity in the&lt;BR&gt;worst case. In practice, it runs in polynomial time. This is&lt;BR&gt;theoretically proven (under certain conditions).&lt;BR&gt;&lt;BR&gt;Have you actually faced performance problems with your problems?&lt;BR&gt;&lt;BR&gt;Good luck anyhow,&lt;BR&gt;&lt;BR&gt;Ali&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;!-- cg1.c960.mail.sg1.yahoo.com compressed/chunked Fri Nov 20 09:46:39 SGT 2009 --&gt;&lt;/div&gt;&lt;br&gt;
      &lt;hr size=1&gt; &lt;a href=&quot;http://sg.rd.yahoo.com/sg/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/sg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt; New Email names for you! &lt;/a&gt; &lt;br&gt;
Get the Email name you&amp;#39;ve always wanted on the new @ymail and @rocketmail.&lt;br&gt;
Hurry before someone else does!&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26589701&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Linear-Programming-Relaxation-tp26496144p26589701.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26589038</id>
	<title>Re: Linear Programming Relaxation</title>
	<published>2009-12-01T01:34:27Z</published>
	<updated>2009-12-01T01:34:27Z</updated>
	<author>
		<name>Andrew Makhorin</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt;&amp;gt; What I am trying to obtain is that though using LPR, the solution
&lt;br&gt;&amp;gt;&amp;gt; is bounded, but the solution does not satisfy what I need which is
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;x1+x2&amp;lt;=1&amp;quot; which means that &amp;quot;x1&amp;quot; and &amp;quot;x2&amp;quot; cannot co-exist together in
&lt;br&gt;&amp;gt;&amp;gt; a solution.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; In mathematics &amp;quot;x1+x2&amp;lt;=1&amp;quot; does not mean &amp;quot;that x1 and x2 cannot co-exist
&lt;br&gt;&amp;gt; together in a solution&amp;quot;; it means that the sum of x1 and x2 is not
&lt;br&gt;&amp;gt; greater than 1. The constraint you need is &amp;quot;NOT x1 OR NOT x2&amp;quot;; this
&lt;br&gt;&amp;gt; constraint is *not* equivalent to &amp;quot;x1+x2&amp;lt;=1&amp;quot; until x1 and x2 are
&lt;br&gt;&amp;gt; restricted to be binary, and being non-convex this constraint cannot be
&lt;br&gt;&amp;gt; modeled within linear program (LP). If you restrict some variables to
&lt;br&gt;&amp;gt; be binary, you get integer program (MIP), not LP.
&lt;/div&gt;&lt;br&gt;I would like to add that there exists a version of the simplex method
&lt;br&gt;(which is not implemented in glpk), where you can declare a set of
&lt;br&gt;variables {x1, x2, ..., xk} to be so called Special Ordered Set of
&lt;br&gt;Type 1 (SOS1 for brevity). SOS1 means that at most one of its variables
&lt;br&gt;can be basic while all its other variables must be non-basic. Assuming
&lt;br&gt;that all variables are non-negative, i.e. xj &amp;gt;= 0, SOS1 then means that
&lt;br&gt;at most one of its variables can take non-zero value while values of its
&lt;br&gt;other variables must be zero. Processing SOS1 constraints can be easily
&lt;br&gt;embedded into the simplex method: if some SOS1 variable is basic,
&lt;br&gt;a non-basic variable from the same SOS1 must not be chosen to enter the
&lt;br&gt;basis. However, in general case such version of the simplex method can
&lt;br&gt;find only a local optimum, because SOS1 constraints are non-convex.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26589038&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Linear-Programming-Relaxation-tp26496144p26589038.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26578372</id>
	<title>SV: Python</title>
	<published>2009-11-30T08:57:00Z</published>
	<updated>2009-11-30T08:57:00Z</updated>
	<author>
		<name>Robert Johansson</name>
	</author>
	<content type="html">Ok, but I really want to use Python. The problem is which one to choose (PyMathProg, python-glpk, ctypes-glpk or something else). The math is no problem and the programming bit will be ok if I just can use a language that I know well. In the end I will use it in an educational context so I would rather like to cover several applications than having a cutting edge solution for only one case.
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;br&gt;/Robert
&lt;br&gt;&lt;br&gt;-----Ursprungligt meddelande-----
&lt;br&gt;Fran: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26578372&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help-glpk-bounces+robert=math.umu.se@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26578372&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help-glpk-bounces+robert=math.umu.se@...&lt;/a&gt;] For Jeffrey Kantor
&lt;br&gt;Skickat: den 30 november 2009 15:37
&lt;br&gt;Till: Robert Johansson
&lt;br&gt;Kopia: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26578372&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help-glpk@...&lt;/a&gt;
&lt;br&gt;Amne: Re: [Help-glpk] Python
&lt;br&gt;&lt;br&gt;That's not a lot to go on. &amp;nbsp;There are a lot of ways to formulate
&lt;br&gt;linear programming
&lt;br&gt;applications, Python being one. &amp;nbsp;You may find one of the modeling languages,
&lt;br&gt;such as mathprog, may fit your application and require little programming
&lt;br&gt;overhead.
&lt;br&gt;&lt;br&gt;What type of applications to you have in mind?
&lt;br&gt;&lt;br&gt;On Mon, Nov 30, 2009 at 9:01 AM, Robert Johansson
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26578372&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rjohansson70@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I want to use Python to run glpk (under Windows). I looked around for a
&lt;br&gt;&amp;gt; while and found PyMathProg, python-glpk and ctypes-glpk. My knowledge in C
&lt;br&gt;&amp;gt; is basic but I can write decent Python scripts. I would be much grateful for
&lt;br&gt;&amp;gt; any suggestions or advices.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; cheers, Robert
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Help-glpk mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26578372&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26578372&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26578372&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SV%3A-Python-tp26578372p26578372.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26578212</id>
	<title>Re: Python</title>
	<published>2009-11-30T08:42:49Z</published>
	<updated>2009-11-30T08:42:49Z</updated>
	<author>
		<name>Jeffrey Kantor</name>
	</author>
	<content type="html">Robert,
&lt;br&gt;&lt;br&gt;If you're committed to the Python aspect of this, you might also
&lt;br&gt;consider CVXOPT (&lt;a href=&quot;http://abel.ee.ucla.edu/cvxopt/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://abel.ee.ucla.edu/cvxopt/index.html&lt;/a&gt;). &amp;nbsp;CVXOPT
&lt;br&gt;is generally for convex optimization, but purportedly allows use of
&lt;br&gt;glpk for milp problems. I'm not much of a python programmer, so don't
&lt;br&gt;have much direct experience with this. CVXOPT is also integrated into
&lt;br&gt;the sage environment which might be nice for the educational context.
&lt;br&gt;&lt;br&gt;Jeff
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Mon, Nov 30, 2009 at 11:12 AM, Robert Johansson
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26578212&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;robert.johansson@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Ok, but I really want to use Python. The problem is which one to choose (PyMathProg, python-glpk, ctypes-glpk or something else). The math is no problem and the programming bit will be ok if I just can use a language that I know well. In the end I will use it in an educational context so I would rather like to cover several applications than having a cutting edge solution for only one case.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; /Robert
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----Ursprungligt meddelande-----
&lt;br&gt;&amp;gt; Från: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26578212&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help-glpk-bounces+robert=math.umu.se@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26578212&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help-glpk-bounces+robert=math.umu.se@...&lt;/a&gt;] För Jeffrey Kantor
&lt;br&gt;&amp;gt; Skickat: den 30 november 2009 15:37
&lt;br&gt;&amp;gt; Till: Robert Johansson
&lt;br&gt;&amp;gt; Kopia: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26578212&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help-glpk@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Ämne: Re: [Help-glpk] Python
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That's not a lot to go on.  There are a lot of ways to formulate
&lt;br&gt;&amp;gt; linear programming
&lt;br&gt;&amp;gt; applications, Python being one.  You may find one of the modeling languages,
&lt;br&gt;&amp;gt; such as mathprog, may fit your application and require little programming
&lt;br&gt;&amp;gt; overhead.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What type of applications to you have in mind?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Nov 30, 2009 at 9:01 AM, Robert Johansson
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26578212&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rjohansson70@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hi!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I want to use Python to run glpk (under Windows). I looked around for a
&lt;br&gt;&amp;gt;&amp;gt; while and found PyMathProg, python-glpk and ctypes-glpk. My knowledge in C
&lt;br&gt;&amp;gt;&amp;gt; is basic but I can write decent Python scripts. I would be much grateful for
&lt;br&gt;&amp;gt;&amp;gt; any suggestions or advices.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; cheers, Robert
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Help-glpk mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26578212&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Help-glpk mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26578212&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26578212&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Python-tp26575228p26578212.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26575728</id>
	<title>Re: Python</title>
	<published>2009-11-30T06:37:00Z</published>
	<updated>2009-11-30T06:37:00Z</updated>
	<author>
		<name>Jeffrey Kantor</name>
	</author>
	<content type="html">That's not a lot to go on. &amp;nbsp;There are a lot of ways to formulate
&lt;br&gt;linear programming
&lt;br&gt;applications, Python being one. &amp;nbsp;You may find one of the modeling languages,
&lt;br&gt;such as mathprog, may fit your application and require little programming
&lt;br&gt;overhead.
&lt;br&gt;&lt;br&gt;What type of applications to you have in mind?
&lt;br&gt;&lt;br&gt;On Mon, Nov 30, 2009 at 9:01 AM, Robert Johansson
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26575728&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rjohansson70@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I want to use Python to run glpk (under Windows). I looked around for a
&lt;br&gt;&amp;gt; while and found PyMathProg, python-glpk and ctypes-glpk. My knowledge in C
&lt;br&gt;&amp;gt; is basic but I can write decent Python scripts. I would be much grateful for
&lt;br&gt;&amp;gt; any suggestions or advices.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; cheers, Robert
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Help-glpk mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26575728&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26575728&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Python-tp26575228p26575728.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26575661</id>
	<title>Re: Linear Programming Relaxation</title>
	<published>2009-11-30T06:29:07Z</published>
	<updated>2009-11-30T06:29:07Z</updated>
	<author>
		<name>Jeffrey Kantor</name>
	</author>
	<content type="html">On Mon, Nov 30, 2009 at 4:17 AM, RC Loh &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26575661&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rc_loh@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Andrew, Jeffrey, Michael,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you very much for your responses.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I will read up on Special Ordered Set (SOS) as suggested by Micheal. Because
&lt;br&gt;&amp;gt; SOS is new to me.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi Jeffrey,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What I am trying to obtain is that though using LPR, the solution
&lt;br&gt;&amp;gt; is bounded, but the solution does not satisfy what I need which is
&lt;br&gt;&amp;gt; &amp;quot;x1+x2&amp;lt;=1&amp;quot; which means that &amp;quot;x1&amp;quot; and &amp;quot;x2&amp;quot; cannot co-exist together in a
&lt;br&gt;&amp;gt; solution.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Without using LPR, that is, the &amp;quot;x1&amp;quot; and &amp;quot;x2&amp;quot; are binaries, then the
&lt;br&gt;&amp;gt; solution obtained by LP is correct.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; However, when I did the LPR, &amp;quot;x1&amp;quot; and &amp;quot;x2&amp;quot; can become &amp;quot;0.5&amp;quot;. Though it still
&lt;br&gt;&amp;gt; satisfies the constraint &amp;quot;x1+x2&amp;lt;=1&amp;quot;, but that is NOT what I want.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What I want is that &amp;quot;x1&amp;quot; and &amp;quot;x2&amp;quot; CANNOT co-exist together in the solution.
&lt;/div&gt;&lt;br&gt;You are observing correct behavior. &amp;nbsp;In this instance, relaxation means that the
&lt;br&gt;solver is not using the binary constraints on x1 and x2. &amp;nbsp;This
&lt;br&gt;simplifies the problem
&lt;br&gt;considerably and provides a lower bound on the objective function you
&lt;br&gt;are minimizing.
&lt;br&gt;&lt;br&gt;This &amp;nbsp;bound can be very useful. &amp;nbsp;In your application the lower bound
&lt;br&gt;means there is
&lt;br&gt;nothing you can do to improve bandwidth or reliability. &amp;nbsp;If the result
&lt;br&gt;you get is not good
&lt;br&gt;enough then you need to change the specification in some way.
&lt;br&gt;Enforcing the binary
&lt;br&gt;constraints will only give a poorer result. &amp;nbsp;If you don't like
&lt;br&gt;bandwidth or reliability
&lt;br&gt;you get with the relaxed solution, then you need to re-engineer the
&lt;br&gt;specification. This
&lt;br&gt;can be very powerful information in many engineering problems.
&lt;br&gt;&lt;br&gt;Unfortunately, removing the binary constraint on x1 and x2 &amp;nbsp;means that
&lt;br&gt;x1 and x2 can take on any value between 0 and 1, which is what you are
&lt;br&gt;observing. &amp;nbsp;If you need for them
&lt;br&gt;to be 0 or 1, then you need to enforce the binary constraints. How
&lt;br&gt;much the objective increases
&lt;br&gt;is problem dependent, but you know it will between the value of the
&lt;br&gt;relaxed solution and
&lt;br&gt;the value of any feasible solution. &amp;nbsp;That gap may be wide or narrow,
&lt;br&gt;depending on your
&lt;br&gt;problem.
&lt;br&gt;&lt;br&gt;In this case you do have a set of binary variables, x1 and x2, of
&lt;br&gt;which only one member
&lt;br&gt;can be 1. &amp;nbsp;This is called a Special Ordered Set (SOS) of Type 1. This
&lt;br&gt;situation allows
&lt;br&gt;for more efficient solution procedures. &amp;nbsp;To the best of my knowledge
&lt;br&gt;GLPK doesn't use
&lt;br&gt;procedures specific to SOS sets. This may or may not be an important
&lt;br&gt;consideration for your
&lt;br&gt;problem.
&lt;br&gt;&lt;br&gt;The issue of polynomial time algorithms can be a distraction. &amp;nbsp;If your
&lt;br&gt;problem is relatively
&lt;br&gt;small scale and you are getting solutions quickly, then don't worry
&lt;br&gt;about it. &amp;nbsp;More often
&lt;br&gt;the bigger issues are whether your model accurately captures the
&lt;br&gt;application, the
&lt;br&gt;problem is well posed and robust to small modeling error, and if
&lt;br&gt;you're getting the accurate
&lt;br&gt;answers you need. &amp;nbsp;Don't worry about computational time unless you're
&lt;br&gt;sure its a problem.
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; And I understand that LP runs in exponential time, however, LPR can run in
&lt;br&gt;&amp;gt; polynomial time.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That is why, I want to use LPR.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any suggestion or idea is appreciated.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Rdgs,
&lt;br&gt;&amp;gt; Paul
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ________________________________
&lt;br&gt;&amp;gt; From: Andrew Makhorin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26575661&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mao@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; To: RC Loh &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26575661&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rc_loh@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26575661&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help-glpk@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Sent: Monday, 30 November 2009 2:22:36
&lt;br&gt;&amp;gt; Subject: Re: [Help-glpk] Linear Programming Relaxation
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; However, I was pondering for the last 2 days about your response. It
&lt;br&gt;&amp;gt;&amp;gt; seems to me that the global bound is not much use for my problem.
&lt;br&gt;&amp;gt;&amp;gt; Because the global will give an *upper bound* for the reliability and
&lt;br&gt;&amp;gt;&amp;gt; bandwidth which is of no use. A *lower bound* will be more useful. So
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In case of minimization (like yours) optimal solution to LP relaxation
&lt;br&gt;&amp;gt; is just an lower bound to the exact integer optimum while an upper bound
&lt;br&gt;&amp;gt; is the one defined by any integer feasible solution. That is, the
&lt;br&gt;&amp;gt; following condition always holds:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;   lower_bound &amp;lt;= exact_optimum &amp;lt;= upper_bound
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I was trying to formulate the problem to try to get a *lower bound*,
&lt;br&gt;&amp;gt;&amp;gt; but until now I am not successful of doing it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Once you have solved LP relaxation, you have got an lower bound.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Another question if you do not mind.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; No, I don't.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Actually the constraint of &amp;quot;x1+x2&amp;lt;=1&amp;quot; is to prevent x1 and x2 to
&lt;br&gt;&amp;gt;&amp;gt; co-exists together in the solution. If x1 and x2 are binary, then GLPK
&lt;br&gt;&amp;gt;&amp;gt; can produce a good solution.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; However, if I will to use LPR, then GLPK gave a solution such that x1
&lt;br&gt;&amp;gt;&amp;gt; and x2 *can* co-exists together in the solution, which is not what I
&lt;br&gt;&amp;gt;&amp;gt; want. Is there a way to prevent this? That is, even if LPR is used I
&lt;br&gt;&amp;gt;&amp;gt; can prevent x1 and x2 to co-exists together in the solution?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; LP relaxation is just an LP problem, where all variables are allowed
&lt;br&gt;&amp;gt; to take any *continuous* values, if only they are satisfied to all LP
&lt;br&gt;&amp;gt; constraints. You require that x1 + x2 &amp;lt;= 1 but do not require that
&lt;br&gt;&amp;gt; x1 and x2 are integer-valued, so why do you surprise that you get
&lt;br&gt;&amp;gt; x1 = x2 = 0.5? Aren't these values satisfy to x1 + x2 &amp;lt;= 1?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ________________________________
&lt;br&gt;&amp;gt; New Email names for you!
&lt;br&gt;&amp;gt; Get the Email name you've always wanted on the new @ymail and @rocketmail.
&lt;br&gt;&amp;gt; Hurry before someone else does!
&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26575661&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Linear-Programming-Relaxation-tp26496144p26575661.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26575228</id>
	<title>Python</title>
	<published>2009-11-30T06:01:05Z</published>
	<updated>2009-11-30T06:01:05Z</updated>
	<author>
		<name>Robert Johansson-2</name>
	</author>
	<content type="html">&lt;div&gt;Hi!&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I want to use Python to run glpk (under Windows). I looked around for a while and found PyMathProg, python-glpk and ctypes-glpk. My knowledge in C is basic but I can write decent Python scripts. I would be much grateful for any suggestions or advices. &lt;/div&gt;

&lt;div&gt; &lt;/div&gt;
&lt;div&gt;cheers, Robert&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26575228&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Python-tp26575228p26575228.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26575020</id>
	<title>Re: Re: GLPK MingW build files and PyGLPK</title>
	<published>2009-11-30T05:50:39Z</published>
	<updated>2009-11-30T05:50:39Z</updated>
	<author>
		<name>Luiz Bettoni</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Hi, Nigel.&lt;br&gt;
&lt;br&gt;
Thanks. I've missed this point before, but Andrew put some light on it.&lt;br&gt;
Really, the difference between the MinGW and MSYS buits are the -O2
CFLAG (missing in default GLPK build with MSYS).&lt;br&gt;
&lt;br&gt;
So, really thanks.&lt;br&gt;
With MSYS I can bypass MinGW makefiles (with no extra dependencies) for
my GLPK builds.&lt;br&gt;
By the way, in Gusek I'll adopt the Xypron binaries (as discussed
before).&lt;br&gt;
&lt;br&gt;
Hugs,&lt;br&gt;
Luiz&lt;br&gt;
&lt;br&gt;
At 30/11/2009 10:30, Nigel Galloway wrote:
&lt;blockquote id=&quot;mid_20091130133013_AB0A57BD6E_ws5-10_us4_outblaze_com&quot; cite=&quot;mid:20091130133013.AB0A57BD6E@ws5-10.us4.outblaze.com&quot; type=&quot;cite&quot;&gt;
  &lt;div&gt;&amp;nbsp;&lt;/div&gt;
  &lt;div&gt;That sounds like a solution. &lt;/div&gt;
  &lt;div&gt;&amp;nbsp;&lt;/div&gt;
  &lt;div&gt;Note though that whether compiling using your own MingW
makefiles or make files compatible with MSYS (and hence Linux) you are
using the same MingW compiler (gcc 3.4 as standard or gcc 4.2 if
youv'e&amp;nbsp; gone experimental). The difference must therefore be due to an
option you are passing to the compiler, and not the particular make
tool.&lt;/div&gt;
  &lt;div&gt;&amp;nbsp;&lt;/div&gt;
  &lt;div&gt;Cygwin is far too complicated and your code will have
dependencies. Any timings may depend on how you've built Cygwin.&lt;/div&gt;
  &lt;div&gt;&amp;nbsp;&lt;/div&gt;
  &lt;div&gt;Good Luck,&lt;/div&gt;
  &lt;div&gt;&amp;nbsp;&lt;/div&gt;
  &lt;div&gt;Nigel&lt;/div&gt;
  &lt;div&gt;&lt;br&gt;
  &lt;br&gt;
  &lt;blockquote id=&quot;StationeryCiteGenerated_1&quot; style=&quot;border-left: 2px solid rgb(16, 16, 255); padding-left: 5px; margin-left: 5px;&quot;&gt;-----
Original Message -----&lt;br&gt;
From: &quot;Luiz M. M. Bettoni&quot; &lt;BETTONI@CPGEI.CT.UTFPR.EDU.BR&gt;&lt;br&gt;
To: &quot;Nigel Galloway&quot; &lt;NIGEL_GALLOWAY@OPERAMAIL.COM&gt;, &quot;help-glpk&quot; &lt;HELP-GLPK@GNU.ORG&gt;,
&quot;Andrew Makhorin&quot; &lt;MAO@GNU.ORG&gt;&lt;br&gt;
Subject: Re: Re: [Help-glpk] Re: GLPK MingW build files and PyGLPK&lt;br&gt;
Date: Thu, 26 Nov 2009 08:47:00 -0300&lt;br&gt;
    &lt;br&gt;
Hi, Nigel, Andrew.&lt;br&gt;
    &lt;br&gt;
I've build glpsol.exe with MSYS and cygwin.&lt;br&gt;
Besides it's useful, the binary file has more than double sized and the
solver looks like quite slower.&lt;br&gt;
    &lt;br&gt;
So, for my testing purposes, I'll use my own MingW build files. &lt;br&gt;
In Gusek package I'll use Xypron pre-built files.&lt;br&gt;
    &lt;br&gt;
Thanks, guys!&lt;br&gt;
Luiz&lt;br&gt;
    &lt;br&gt;
    &lt;br&gt;
At 16:59, Nigel Galloway wrote: &lt;/MAO@GNU.ORG&gt;&lt;/HELP-GLPK@GNU.ORG&gt;&lt;/NIGEL_GALLOWAY@OPERAMAIL.COM&gt;&lt;/BETTONI@CPGEI.CT.UTFPR.EDU.BR&gt;
    &lt;blockquote id=&quot;mid_%3C20091106120803_CBB5B7BD6E_ws5-10_us4_outblaze_com%3E&quot; cite=&quot;mid:%3C20091106120803.CBB5B7BD6E@ws5-10.us4.outblaze.com%3E&quot; type=&quot;cite&quot;&gt;
      &lt;pre wrap=&quot;&quot;&gt;You should probably add the MSYS extensions to MingW, these include a make utility compatible with Linux. This is what I usually use to compile glpk on windows using NetBeans rather than Visual C++ as the IDE. I make no changes.

Good Luck,

Nigel

  &lt;/pre&gt;
      &lt;blockquote id=&quot;StationeryCiteGenerated_1&quot; type=&quot;cite&quot;&gt;
        &lt;pre wrap=&quot;&quot;&gt;----- Original Message -----
From: &quot;Andrew Makhorin&quot; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26575020&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mao@...&lt;/a&gt;
To: &quot;Luiz Bettoni&quot; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26575020&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bettoni@...&lt;/a&gt;
Cc: &quot;help-glpk&quot; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26575020&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help-glpk@...&lt;/a&gt;
Subject: [Help-glpk] Re: GLPK MingW build files and PyGLPK
Date: Thu, 5 Nov 2009 20:40:50 +0300


    &lt;/pre&gt;
        &lt;blockquote id=&quot;StationeryCiteGenerated_2&quot; type=&quot;cite&quot;&gt;
          &lt;pre wrap=&quot;&quot;&gt;You do not intend to include MingW w32
build files in GLPK package anymore?
      &lt;/pre&gt;
        &lt;/blockquote&gt;
        &lt;blockquote id=&quot;StationeryCiteGenerated_3&quot; type=&quot;cite&quot;&gt;
          &lt;pre wrap=&quot;&quot;&gt;On every GLPK launch i've patched them and
sent to the list, but if no-one uses mingw
to build GLPK (I'm alone? U), it's wast effort.
      &lt;/pre&gt;
        &lt;/blockquote&gt;
        &lt;blockquote id=&quot;StationeryCiteGenerated_4&quot; type=&quot;cite&quot;&gt;
          &lt;pre wrap=&quot;&quot;&gt;If MingW build files isn't util anymore, I'm
planning replace Gusek glpsol binaries by
winglpk pre-build ones.
      &lt;/pre&gt;
        &lt;/blockquote&gt;
        &lt;pre wrap=&quot;&quot;&gt;If you build only the glpsol executable, why not to use Cygwin?
It allows configuring and building the package in the standard way.
Is there anything specific in Gusek that requires Mingw?
    &lt;/pre&gt;
      &lt;/blockquote&gt;
      &lt;pre wrap=&quot;&quot;&gt;&lt;!----&gt;
  &lt;/pre&gt;
      &lt;pre wrap=&quot;&quot;&gt;&lt;!----&gt;

  &lt;/pre&gt;
    &lt;/blockquote&gt;
  &lt;/blockquote&gt;
  &lt;/div&gt;
  &lt;br&gt;
--
  &lt;p&gt;_______________________________________________&lt;br&gt;
Surf the Web in a faster, safer and easier way:&lt;br&gt;
Download Opera 9 at &lt;a moz-do-not-send=&quot;true&quot; href=&quot;http://www.opera.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.opera.com&lt;/a&gt;&lt;/p&gt;
  &lt;br&gt;
Powered by Outblaze
&lt;/blockquote&gt;
&lt;/body&gt;
&lt;/html&gt;


&lt;br /&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26575020&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/glpk-4.40-release-information-tp26179437p26575020.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26574827</id>
	<title>Re: Linear Programming Relaxation</title>
	<published>2009-11-30T05:38:20Z</published>
	<updated>2009-11-30T05:38:20Z</updated>
	<author>
		<name>Andrew Makhorin</name>
	</author>
	<content type="html">&amp;gt; What I am trying to obtain is that though using LPR, the solution
&lt;br&gt;&amp;gt; is bounded, but the solution does not satisfy what I need which is
&lt;br&gt;&amp;gt; &amp;quot;x1+x2&amp;lt;=1&amp;quot; which means that &amp;quot;x1&amp;quot; and &amp;quot;x2&amp;quot; cannot co-exist together in
&lt;br&gt;&amp;gt; a solution.
&lt;br&gt;&lt;br&gt;In mathematics &amp;quot;x1+x2&amp;lt;=1&amp;quot; does not mean &amp;quot;that x1 and x2 cannot co-exist
&lt;br&gt;together in a solution&amp;quot;; it means that the sum of x1 and x2 is not
&lt;br&gt;greater than 1. The constraint you need is &amp;quot;NOT x1 OR NOT x2&amp;quot;; this
&lt;br&gt;constraint is *not* equivalent to &amp;quot;x1+x2&amp;lt;=1&amp;quot; until x1 and x2 are
&lt;br&gt;restricted to be binary, and being non-convex this constraint cannot be
&lt;br&gt;modeled within linear program (LP). If you restrict some variables to
&lt;br&gt;be binary, you get integer program (MIP), not LP.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26574827&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Linear-Programming-Relaxation-tp26496144p26574827.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26574742</id>
	<title>Re: Re: Re: GLPK MingW build files and PyGLPK</title>
	<published>2009-11-30T05:30:13Z</published>
	<updated>2009-11-30T05:30:13Z</updated>
	<author>
		<name>Nigel Galloway</name>
	</author>
	<content type="html">&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;That sounds like a solution. &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Note though that whether compiling using your own MingW makefiles or make files compatible with MSYS (and hence Linux) you are using the same MingW compiler (gcc 3.4 as standard or gcc 4.2 if youv'e&amp;nbsp; gone experimental). The difference must therefore be due to an option you are passing to the compiler, and not the particular make tool.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Cygwin is far too complicated and your code will have dependencies. Any timings may depend on how you've built Cygwin.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Good Luck,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Nigel&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR&gt;&lt;BR&gt;
&lt;BLOCKQUOTE style=&quot;PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid&quot;&gt;----- Original Message -----&lt;BR&gt;From: &quot;Luiz M. M. Bettoni&quot; &lt;BETTONI@CPGEI.CT.UTFPR.EDU.BR&gt;&lt;BR&gt;To: &quot;Nigel Galloway&quot; &lt;NIGEL_GALLOWAY@OPERAMAIL.COM&gt;, &quot;help-glpk&quot; &lt;HELP-GLPK@GNU.ORG&gt;, &quot;Andrew Makhorin&quot; &lt;MAO@GNU.ORG&gt;&lt;BR&gt;Subject: Re: Re: [Help-glpk] Re: GLPK MingW build files and PyGLPK&lt;BR&gt;Date: Thu, 26 Nov 2009 08:47:00 -0300&lt;BR&gt;&lt;BR&gt;Hi, Nigel, Andrew.&lt;BR&gt;&lt;BR&gt;I've build glpsol.exe with MSYS and cygwin.&lt;BR&gt;Besides it's useful, the binary file has more than double sized and the solver looks like quite slower.&lt;BR&gt;&lt;BR&gt;So, for my testing purposes, I'll use my own MingW build files. &lt;BR&gt;In Gusek package I'll use Xypron pre-built files.&lt;BR&gt;&lt;BR&gt;Thanks, guys!&lt;BR&gt;Luiz&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;At 16:59, Nigel Galloway wrote: 
&lt;BLOCKQUOTE id=mid_%3C20091106120803_CBB5B7BD6E_ws5-10_us4_outblaze_com%3E cite=mid:%3C20091106120803.CBB5B7BD6E@ws5-10.us4.outblaze.com%3E type=&quot;cite&quot;&gt;&lt;PRE wrap=&quot;&quot;&gt;You should probably add the MSYS extensions to MingW, these include a make utility compatible with Linux. This is what I usually use to compile glpk on windows using NetBeans rather than Visual C++ as the IDE. I make no changes.

Good Luck,

Nigel

  &lt;/PRE&gt;
&lt;BLOCKQUOTE id=StationeryCiteGenerated_1 type=&quot;cite&quot;&gt;&lt;PRE wrap=&quot;&quot;&gt;----- Original Message -----
From: &quot;Andrew Makhorin&quot; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26574742&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mao@...&lt;/a&gt;
To: &quot;Luiz Bettoni&quot; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26574742&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bettoni@...&lt;/a&gt;
Cc: &quot;help-glpk&quot; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26574742&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help-glpk@...&lt;/a&gt;
Subject: [Help-glpk] Re: GLPK MingW build files and PyGLPK
Date: Thu, 5 Nov 2009 20:40:50 +0300


    &lt;/PRE&gt;
&lt;BLOCKQUOTE id=StationeryCiteGenerated_2 type=&quot;cite&quot;&gt;&lt;PRE wrap=&quot;&quot;&gt;You do not intend to include MingW w32
build files in GLPK package anymore?
      &lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE id=StationeryCiteGenerated_3 type=&quot;cite&quot;&gt;&lt;PRE wrap=&quot;&quot;&gt;On every GLPK launch i've patched them and
sent to the list, but if no-one uses mingw
to build GLPK (I'm alone? U), it's wast effort.
      &lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE id=StationeryCiteGenerated_4 type=&quot;cite&quot;&gt;&lt;PRE wrap=&quot;&quot;&gt;If MingW build files isn't util anymore, I'm
planning replace Gusek glpsol binaries by
winglpk pre-build ones.
      &lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;PRE wrap=&quot;&quot;&gt;If you build only the glpsol executable, why not to use Cygwin?
It allows configuring and building the package in the standard way.
Is there anything specific in Gusek that requires Mingw?
    &lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;PRE wrap=&quot;&quot;&gt;&lt;!----&gt;
  &lt;/PRE&gt;&lt;PRE wrap=&quot;&quot;&gt;&lt;!----&gt;

  &lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;BR&gt;

-- 
&lt;p&gt;_______________________________________________&lt;br&gt;Surf the Web in a faster, safer and easier way:&lt;br&gt;
Download Opera 9 at &lt;a href=&quot;http://www.opera.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.opera.com&lt;/a&gt;&lt;/p&gt;
&lt;BR&gt;
Powered by Outblaze
&lt;br /&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26574742&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/glpk-4.40-release-information-tp26179437p26574742.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26573559</id>
	<title>Re: Linear Programming Relaxation</title>
	<published>2009-11-30T03:50:47Z</published>
	<updated>2009-11-30T03:50:47Z</updated>
	<author>
		<name>Ali Baharev</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;&amp;gt; However, when I did the LPR, &amp;quot;x1&amp;quot; and &amp;quot;x2&amp;quot; can become &amp;quot;0.5&amp;quot;. Though it still
&lt;br&gt;&amp;gt; satisfies the constraint &amp;quot;x1+x2&amp;lt;=1&amp;quot;, but that is NOT what I want.
&lt;br&gt;&lt;br&gt;Please re-read Andrew's e-mail:
&lt;br&gt;&lt;br&gt;&amp;gt; LP relaxation is just an LP problem, where all variables are allowed
&lt;br&gt;&amp;gt; to take any *continuous* values, if only they are satisfied to all LP
&lt;br&gt;&amp;gt; constraints. You require that x1 + x2 &amp;lt;= 1 but do not require that
&lt;br&gt;&amp;gt; x1 and x2 are integer-valued, so why do you surprise that you get
&lt;br&gt;&amp;gt; x1 = x2 = 0.5? Aren't these values satisfy to x1 + x2 &amp;lt;= 1?
&lt;br&gt;&lt;br&gt;Please answer his questions.
&lt;br&gt;&lt;br&gt;You have no choice but to declare those variables binary in order to
&lt;br&gt;achieve what you want.
&lt;br&gt;&lt;br&gt;&amp;gt; And I understand that LP runs in exponential time, however, LPR can run in
&lt;br&gt;&amp;gt; polynomial time.
&lt;br&gt;&lt;br&gt;Correction: the simplex method shows exponential complexity in the
&lt;br&gt;worst case. In practice, it runs in polynomial time. This is
&lt;br&gt;theoretically proven (under certain conditions).
&lt;br&gt;&lt;br&gt;Have you actually faced performance problems with your problems?
&lt;br&gt;&lt;br&gt;Good luck anyhow,
&lt;br&gt;&lt;br&gt;Ali
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26573559&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Linear-Programming-Relaxation-tp26496144p26573559.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26571508</id>
	<title>Re: Linear Programming Relaxation</title>
	<published>2009-11-30T01:17:58Z</published>
	<updated>2009-11-30T01:17:58Z</updated>
	<author>
		<name>Paul Loh</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:arial, helvetica, sans-serif;font-size:14pt&quot;&gt;&lt;DIV&gt;Hi Andrew, Jeffrey, Michael,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thank you very much for your responses. &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I will read up on Special Ordered Set (SOS) as suggested by Micheal. Because SOS is new to me. &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Hi&amp;nbsp;Jeffrey,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;What I am trying&amp;nbsp;to&amp;nbsp;obtain is that though using LPR, the solution is&amp;nbsp;bounded, but the solution does not satisfy what I need which is &quot;x1+x2&amp;lt;=1&quot; which means that &quot;x1&quot; and &quot;x2&quot; cannot co-exist&amp;nbsp;together in a solution.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Without using LPR, that is, the&amp;nbsp;&quot;x1&quot; and &quot;x2&quot; are binaries, then the solution obtained by LP is correct.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;However, when I did the LPR, &quot;x1&quot; and &quot;x2&quot; can become &quot;0.5&quot;. Though it still satisfies the constraint &quot;x1+x2&amp;lt;=1&quot;, but that is&amp;nbsp;NOT what I want. &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;What I want is that &quot;x1&quot; and &quot;x2&quot;&amp;nbsp;CANNOT co-exist together in the solution. &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;And I understand that LP runs in exponential time, however, LPR can run in polynomial time. &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;That is why,&amp;nbsp;I want to use LPR.&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;BR&gt;Any suggestion or idea is appreciated.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Rdgs,&lt;/DIV&gt;
&lt;DIV&gt;Paul&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style=&quot;FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 14pt&quot;&gt;&lt;BR&gt;
&lt;DIV style=&quot;FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px&quot;&gt;&lt;FONT size=2 face=Tahoma&gt;
&lt;HR SIZE=1&gt;
&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;From:&lt;/SPAN&gt;&lt;/B&gt; Andrew Makhorin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26571508&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mao@...&lt;/a&gt;&amp;gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;To:&lt;/SPAN&gt;&lt;/B&gt; RC Loh &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26571508&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rc_loh@...&lt;/a&gt;&amp;gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Cc:&lt;/SPAN&gt;&lt;/B&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26571508&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help-glpk@...&lt;/a&gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Sent:&lt;/SPAN&gt;&lt;/B&gt; Monday, 30 November 2009 2:22:36&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Subject:&lt;/SPAN&gt;&lt;/B&gt; Re: [Help-glpk] Linear Programming Relaxation&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;&amp;gt; However, I was pondering for the last 2 days about your response. It&lt;BR&gt;&amp;gt; seems to me that the global bound is not much use for my problem.&lt;BR&gt;&amp;gt; Because the global will give an *upper bound* for the reliability and&lt;BR&gt;&amp;gt; bandwidth which is of no use. A *lower bound* will be more useful. So&lt;BR&gt;&lt;BR&gt;In case of minimization (like yours) optimal solution to LP relaxation&lt;BR&gt;is just an lower bound to the exact integer optimum while an upper bound&lt;BR&gt;is the one defined by any integer feasible solution.
 That is, the&lt;BR&gt;following condition always holds:&lt;BR&gt;&lt;BR&gt;&amp;nbsp; lower_bound &amp;lt;= exact_optimum &amp;lt;= upper_bound&lt;BR&gt;&lt;BR&gt;&amp;gt; I was trying to formulate the problem to try to get a *lower bound*,&lt;BR&gt;&amp;gt; but until now I am not successful of doing it.&lt;BR&gt;&lt;BR&gt;Once you have solved LP relaxation, you have got an lower bound.&lt;BR&gt;&lt;BR&gt;&amp;gt; Another question if you do not mind.&lt;BR&gt;&lt;BR&gt;No, I don't.&lt;BR&gt;&lt;BR&gt;&amp;gt; Actually the constraint of &quot;x1+x2&amp;lt;=1&quot; is to prevent x1 and x2 to&lt;BR&gt;&amp;gt; co-exists together in the solution. If x1 and x2 are binary, then GLPK&lt;BR&gt;&amp;gt; can produce a good solution.&lt;BR&gt;&lt;BR&gt;&amp;gt; However, if I will to use LPR, then GLPK gave a solution such that&amp;nbsp;x1&lt;BR&gt;&amp;gt; and x2 *can* co-exists together in the solution, which is not what I&lt;BR&gt;&amp;gt; want. Is there a way to prevent this? That is, even if LPR is used I&lt;BR&gt;&amp;gt; can prevent x1 and x2 to co-exists together in the solution?&lt;BR&gt;&lt;BR&gt;LP relaxation is just an LP problem, where all variables are
 allowed&lt;BR&gt;to take any *continuous* values, if only they are satisfied to all LP&lt;BR&gt;constraints. You require that x1 + x2 &amp;lt;= 1 but do not require that&lt;BR&gt;x1 and x2 are integer-valued, so why do you surprise that you get&lt;BR&gt;x1 = x2 = 0.5? Aren't these values satisfy to x1 + x2 &amp;lt;= 1?&lt;BR&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;!-- cg1.c960.mail.sg1.yahoo.com compressed/chunked Fri Nov 20 09:46:39 SGT 2009 --&gt;&lt;/div&gt;&lt;br&gt;
      &lt;hr size=1&gt; &lt;a href=&quot;http://sg.rd.yahoo.com/sg/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/sg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt; New Email names for you! &lt;/a&gt; &lt;br&gt;
Get the Email name you&amp;#39;ve always wanted on the new @ymail and @rocketmail.&lt;br&gt;
Hurry before someone else does!&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26571508&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Linear-Programming-Relaxation-tp26496144p26571508.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26565182</id>
	<title>Re: Linear Programming Relaxation</title>
	<published>2009-11-29T11:34:02Z</published>
	<updated>2009-11-29T11:34:02Z</updated>
	<author>
		<name>Jeffrey Kantor</name>
	</author>
	<content type="html">Hi Paul,
&lt;br&gt;&lt;br&gt;As an outside observer to this case, I'm trying to understand
&lt;br&gt;precisely what you're after. &amp;nbsp;As already mentioned by others, an LP
&lt;br&gt;relaxation finds a lower bound to your problem, while any feasible
&lt;br&gt;integer solution (which may or may not be easy to find) provides an
&lt;br&gt;upper bound. &amp;nbsp;Solving the problem to integer optimality finds an
&lt;br&gt;actual solution to your problem.
&lt;br&gt;&lt;br&gt;Are you trying to solve your integer/binary problem without imposing
&lt;br&gt;integer/binary constraints?
&lt;br&gt;&lt;br&gt;Jeff
&lt;br&gt;&lt;br&gt;On Sun, Nov 29, 2009 at 8:30 AM, RC Loh &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565182&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rc_loh@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Andrew,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you very much for your response.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; However, I was pondering for the last 2 days about your response. It seems
&lt;br&gt;&amp;gt; to me that the global bound is not much use for my problem. Because the
&lt;br&gt;&amp;gt; global will give an *upper bound* for the reliability and bandwidth which is
&lt;br&gt;&amp;gt; of no use. A *lower bound* will be more useful. So I was trying to formulate
&lt;br&gt;&amp;gt; the problem to try to get a *lower bound*, but until now I am not successful
&lt;br&gt;&amp;gt; of doing it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Another question if you do not mind.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Actually the constraint of &amp;quot;x1+x2&amp;lt;=1&amp;quot; is to prevent x1 and x2 to co-exists
&lt;br&gt;&amp;gt; together in the solution. If x1 and x2 are binary, then GLPK can produce a
&lt;br&gt;&amp;gt; good solution.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; However, if I will to use LPR, then GLPK gave a solution such that  x1 and
&lt;br&gt;&amp;gt; x2 *can* co-exists together in the solution, which is not what I want. Is
&lt;br&gt;&amp;gt; there a way to prevent this? That is, even if LPR is used I can prevent x1
&lt;br&gt;&amp;gt; and x2 to co-exists together in the solution?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks in advance.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Rdgs,
&lt;br&gt;&amp;gt; Paul
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ________________________________
&lt;br&gt;&amp;gt; From: Andrew Makhorin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565182&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mao@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; To: RC Loh &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565182&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rc_loh@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565182&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help-glpk@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Sent: Friday, 27 November 2009 11:11:01
&lt;br&gt;&amp;gt; Subject: Re: [Help-glpk] Linear Programming Relaxation
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Just to clarify on Linear Programming Relaxation.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I am attempting to solve the NP-hard problem of Optimizing Reliability
&lt;br&gt;&amp;gt;&amp;gt; Subject to a Bandwidth Constraint using Linear Programming Relaxation
&lt;br&gt;&amp;gt;&amp;gt; and I have created 2 LP files for the problem.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Test 1: (using Binary structural variables)
&lt;br&gt;&amp;gt;&amp;gt; ===============================
&lt;br&gt;&amp;gt;&amp;gt; 1) BinaryLinearProgramming_LP_file.txt (see attached file)
&lt;br&gt;&amp;gt;&amp;gt; 2) routine lpx_intopt(lp)
&lt;br&gt;&amp;gt;&amp;gt; 3) I obtained Output_BinaryLinearProgram.txt (see attached file)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Test 2: (using bounds structural variables)
&lt;br&gt;&amp;gt;&amp;gt; ================================
&lt;br&gt;&amp;gt;&amp;gt; 1) LinearProgramRelaxed_LP_file.txt (see attached file)
&lt;br&gt;&amp;gt;&amp;gt; 2) routine lpx_interior(lp)
&lt;br&gt;&amp;gt;&amp;gt; 3) I obtained Output_LinearProgramRelaxed.txt (see attached file)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The constraints of &amp;quot;x1+x2&amp;lt;=1&amp;quot; in the LP files is because I do not want
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;x1&amp;quot; and &amp;quot;x2&amp;quot; to be in the solution at the same time because &amp;quot;x1&amp;quot; is
&lt;br&gt;&amp;gt;&amp;gt; not edge-disjoint with &amp;quot;x2&amp;quot;. Same goes for the rest of the constraints
&lt;br&gt;&amp;gt;&amp;gt; in the LP files.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I have 3 questions:
&lt;br&gt;&amp;gt;&amp;gt; 1) The output from the Test 1 using Binary structural variables is
&lt;br&gt;&amp;gt;&amp;gt; correct but why I got all &amp;quot;0.5&amp;quot; for all the structural variables in
&lt;br&gt;&amp;gt;&amp;gt; the LP Relaxed? Is my formulation of the LP file using the LP
&lt;br&gt;&amp;gt;&amp;gt; Relaxation correct?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You get fractional solution, because LinearProgramRelaxed_LP_file
&lt;br&gt;&amp;gt; does not constraint variables to be integer-valued unlike
&lt;br&gt;&amp;gt; BinaryLinearProgramming_LP_file which does.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 2) Using the Linear Programming Relaxation (LPR) method to obtain an
&lt;br&gt;&amp;gt;&amp;gt; approximate algorithm does not mean that the approximation is for the
&lt;br&gt;&amp;gt;&amp;gt; objective function, is that right? Because we cannot guarantee how
&lt;br&gt;&amp;gt;&amp;gt; close we are to the optimal result using the LPR, is that right? Using
&lt;br&gt;&amp;gt;&amp;gt; the LPR method is more like a heuristics algorithm, is that right?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; LPR does not give you an approximation to the exact solution, because
&lt;br&gt;&amp;gt; its solution may be fractional (which it is). It only gives you a global
&lt;br&gt;&amp;gt; bound to the exact optimum in the sense that optimal objective value
&lt;br&gt;&amp;gt; for the original (non-relaxed) problem *cannot* be better than optimal
&lt;br&gt;&amp;gt; objective value for LPR.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 3) How do I cite GLPK for a paper conference submission?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; GNU Linear Programming Kit Version X.Y, &lt;a href=&quot;http://www.gnu.org/software/glpk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/glpk/&lt;/a&gt;&amp;nbsp;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ________________________________
&lt;br&gt;&amp;gt; Yahoo! Toolbar is now powered with Search Assist. Download it now!
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Help-glpk mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565182&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26565182&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Linear-Programming-Relaxation-tp26496144p26565182.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26564528</id>
	<title>Re: Linear Programming Relaxation</title>
	<published>2009-11-29T10:22:29Z</published>
	<updated>2009-11-29T10:22:29Z</updated>
	<author>
		<name>Andrew Makhorin</name>
	</author>
	<content type="html">&amp;gt; However, I was pondering for the last 2 days about your response. It
&lt;br&gt;&amp;gt; seems to me that the global bound is not much use for my problem.
&lt;br&gt;&amp;gt; Because the global will give an *upper bound* for the reliability and
&lt;br&gt;&amp;gt; bandwidth which is of no use. A *lower bound* will be more useful. So
&lt;br&gt;&lt;br&gt;In case of minimization (like yours) optimal solution to LP relaxation
&lt;br&gt;is just an lower bound to the exact integer optimum while an upper bound
&lt;br&gt;is the one defined by any integer feasible solution. That is, the
&lt;br&gt;following condition always holds:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;lower_bound &amp;lt;= exact_optimum &amp;lt;= upper_bound
&lt;br&gt;&lt;br&gt;&amp;gt; I was trying to formulate the problem to try to get a *lower bound*,
&lt;br&gt;&amp;gt; but until now I am not successful of doing it.
&lt;br&gt;&lt;br&gt;Once you have solved LP relaxation, you have got an lower bound.
&lt;br&gt;&lt;br&gt;&amp;gt; Another question if you do not mind.
&lt;br&gt;&lt;br&gt;No, I don't.
&lt;br&gt;&lt;br&gt;&amp;gt; Actually the constraint of &amp;quot;x1+x2&amp;lt;=1&amp;quot; is to prevent x1 and x2 to
&lt;br&gt;&amp;gt; co-exists together in the solution. If x1 and x2 are binary, then GLPK
&lt;br&gt;&amp;gt; can produce a good solution.
&lt;br&gt;&lt;br&gt;&amp;gt; However, if I will to use LPR, then GLPK gave a solution such that x1
&lt;br&gt;&amp;gt; and x2 *can* co-exists together in the solution, which is not what I
&lt;br&gt;&amp;gt; want. Is there a way to prevent this? That is, even if LPR is used I
&lt;br&gt;&amp;gt; can prevent x1 and x2 to co-exists together in the solution?
&lt;br&gt;&lt;br&gt;LP relaxation is just an LP problem, where all variables are allowed
&lt;br&gt;to take any *continuous* values, if only they are satisfied to all LP
&lt;br&gt;constraints. You require that x1 + x2 &amp;lt;= 1 but do not require that
&lt;br&gt;x1 and x2 are integer-valued, so why do you surprise that you get
&lt;br&gt;x1 = x2 = 0.5? Aren't these values satisfy to x1 + x2 &amp;lt;= 1?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26564528&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Linear-Programming-Relaxation-tp26496144p26564528.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26564302</id>
	<title>Re: Linear Programming Relaxation</title>
	<published>2009-11-29T09:53:53Z</published>
	<updated>2009-11-29T09:53:53Z</updated>
	<author>
		<name>Michael Hennebry</name>
	</author>
	<content type="html">On Sun, 29 Nov 2009, RC Loh wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; However, I was pondering for the last 2 days about your response. It seems to me that the global bound is not much use for my problem. Because the global will give an *upper bound* for the reliability and bandwidth which is of no use. A *lower bound* will be more useful. So I was trying to formulate the problem to try to get a *lower bound*, but until now I am not successful of doing it.
&lt;br&gt;&lt;br&gt;Getting a lower bound pretty much means finding a feasible solution.
&lt;br&gt;&lt;br&gt;&amp;gt; Another question if you do not mind. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Actually the constraint of &amp;quot;x1+x2&amp;lt;=1&amp;quot; is to prevent x1 and x2 to co-exists together in the solution. If x1 and x2 are binary, then GLPK can produce a good solution.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; However, if I will to use LPR, then GLPK gave a solution such that  x1 and x2 *can* co-exists together in the solution, which is not what I want. Is there a way to prevent this? That is, even if LPR is used I can prevent x1 and x2 to co-exists together in the solution?
&lt;br&gt;&lt;br&gt;2-item SOS constraint perhaps?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Michael &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26564302&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hennebry@...&lt;/a&gt;
&lt;br&gt;&amp;quot;Pessimist: The glass is half empty.
&lt;br&gt;Optimist: &amp;nbsp; The glass is half full.
&lt;br&gt;Engineer: &amp;nbsp; The glass is twice as big as it needs to be.&amp;quot;&lt;br /&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26564302&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Linear-Programming-Relaxation-tp26496144p26564302.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26562084</id>
	<title>Re: Linear Programming Relaxation</title>
	<published>2009-11-29T05:30:52Z</published>
	<updated>2009-11-29T05:30:52Z</updated>
	<author>
		<name>Paul Loh</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:arial, helvetica, sans-serif;font-size:14pt&quot;&gt;&lt;DIV&gt;Hi Andrew,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thank you very much for your response. &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;However, I was pondering for the last 2 days about your response. It seems to me that the global bound is not much use for my problem. Because the global will give an *upper bound* for the reliability and bandwidth which is of no use. A *lower bound* will be more useful. So I was trying to formulate the problem to try to get a *lower bound*, but until now I am not successful of doing it.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Another question if you do not mind. &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Actually the constraint of &quot;x1+x2&amp;lt;=1&quot; is to prevent x1 and x2 to co-exists together in the solution. If x1 and x2 are binary, then GLPK can produce a good solution.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;However, if I will to use LPR, then GLPK gave a solution such that &amp;nbsp;x1 and x2 *can* co-exists together in the solution, which is not what I want. Is there a way to prevent this? That is, even if LPR is used I can prevent x1 and x2 to co-exists together in the solution?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks in advance.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Rdgs,&lt;/DIV&gt;
&lt;DIV&gt;Paul&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style=&quot;FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 14pt&quot;&gt;&lt;BR&gt;
&lt;DIV style=&quot;FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px&quot;&gt;&lt;FONT size=2 face=Tahoma&gt;
&lt;HR SIZE=1&gt;
&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;From:&lt;/SPAN&gt;&lt;/B&gt; Andrew Makhorin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26562084&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mao@...&lt;/a&gt;&amp;gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;To:&lt;/SPAN&gt;&lt;/B&gt; RC Loh &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26562084&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rc_loh@...&lt;/a&gt;&amp;gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Cc:&lt;/SPAN&gt;&lt;/B&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26562084&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help-glpk@...&lt;/a&gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Sent:&lt;/SPAN&gt;&lt;/B&gt; Friday, 27 November 2009 11:11:01&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Subject:&lt;/SPAN&gt;&lt;/B&gt; Re: [Help-glpk] Linear Programming Relaxation&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;&amp;gt; Just to clarify on Linear Programming Relaxation.&lt;BR&gt;&lt;BR&gt;&amp;gt; I am attempting to solve the NP-hard problem of Optimizing Reliability&lt;BR&gt;&amp;gt; Subject to a Bandwidth Constraint using Linear Programming Relaxation&lt;BR&gt;&amp;gt; and I have created 2&amp;nbsp;LP files for the problem.&lt;BR&gt;&lt;BR&gt;&amp;gt; Test 1: (using Binary structural variables)&lt;BR&gt;&amp;gt; ===============================&lt;BR&gt;&amp;gt; 1) BinaryLinearProgramming_LP_file.txt (see attached file)&lt;BR&gt;&amp;gt; 2) routine lpx_intopt(lp)&lt;BR&gt;&amp;gt; 3) I
 obtained&amp;nbsp;Output_BinaryLinearProgram.txt (see attached file)&lt;BR&gt;&lt;BR&gt;&amp;gt; Test 2: (using bounds structural variables)&lt;BR&gt;&amp;gt; ================================&lt;BR&gt;&amp;gt; 1) LinearProgramRelaxed_LP_file.txt (see attached file)&lt;BR&gt;&amp;gt; 2) routine lpx_interior(lp)&lt;BR&gt;&amp;gt; 3) I obtained Output_LinearProgramRelaxed.txt (see attached file)&lt;BR&gt;&lt;BR&gt;&amp;gt; The constraints of &quot;x1+x2&amp;lt;=1&quot; in the LP files&amp;nbsp;is because I do not want&lt;BR&gt;&amp;gt; &quot;x1&quot; and &quot;x2&quot; to be in the solution at the same time because &quot;x1&quot; is&lt;BR&gt;&amp;gt; not edge-disjoint with &quot;x2&quot;. Same goes for the rest of the constraints&lt;BR&gt;&amp;gt; in the LP files.&lt;BR&gt;&lt;BR&gt;&amp;gt; I have 3 questions:&lt;BR&gt;&amp;gt; 1) The output from the Test 1 using Binary structural variables is&lt;BR&gt;&amp;gt; correct but why I got all &quot;0.5&quot; for all the&amp;nbsp;structural variables in&lt;BR&gt;&amp;gt; the&amp;nbsp;LP Relaxed?&amp;nbsp;Is my formulation of the LP file using the LP&lt;BR&gt;&amp;gt; Relaxation correct?&lt;BR&gt;&lt;BR&gt;You get fractional solution, because
 LinearProgramRelaxed_LP_file&lt;BR&gt;does not constraint variables to be integer-valued unlike&lt;BR&gt;BinaryLinearProgramming_LP_file which does.&lt;BR&gt;&lt;BR&gt;&amp;gt; 2) Using the Linear Programming Relaxation (LPR)&amp;nbsp;method to obtain an&lt;BR&gt;&amp;gt; approximate algorithm does not mean that the approximation is for the&lt;BR&gt;&amp;gt; objective function, is that right? Because we cannot guarantee how&lt;BR&gt;&amp;gt; close we are to the optimal result using the LPR, is that right? Using&lt;BR&gt;&amp;gt; the LPR method is more like a heuristics algorithm, is that right?&lt;BR&gt;&lt;BR&gt;LPR does not give you an approximation to the exact solution, because&lt;BR&gt;its solution may be fractional (which it is). It only gives you a global&lt;BR&gt;bound to the exact optimum in the sense that optimal objective value&lt;BR&gt;for the original (non-relaxed) problem *cannot* be better than optimal&lt;BR&gt;objective value for LPR.&lt;BR&gt;&lt;BR&gt;&amp;gt; 3) How do I&amp;nbsp;cite GLPK for a paper conference submission?&lt;BR&gt;&lt;BR&gt;GNU Linear Programming Kit
 Version X.Y, &lt;A href=&quot;http://www.gnu.org/software/glpk/&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/glpk/&lt;/A&gt; .&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;!-- cg1.c960.mail.sg1.yahoo.com compressed/chunked Fri Nov 20 09:46:39 SGT 2009 --&gt;&lt;/div&gt;&lt;br&gt;
      &lt;hr size=1&gt; Yahoo! Toolbar is now powered with Search Assist. &lt;a href=&quot;http://sg.rd.yahoo.com/search/toolbar/mail/signature/*http://sg.toolbar.yahoo.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;  Download it now! &lt;/a&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;Help-glpk@...
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Linear-Programming-Relaxation-tp26496144p26562084.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26543709</id>
	<title>Re: Linear Programming Relaxation</title>
	<published>2009-11-27T07:11:01Z</published>
	<updated>2009-11-27T07:11:01Z</updated>
	<author>
		<name>Andrew Makhorin</name>
	</author>
	<content type="html">&amp;gt; Just to clarify on Linear Programming Relaxation.
&lt;br&gt;&lt;br&gt;&amp;gt; I am attempting to solve the NP-hard problem of Optimizing Reliability
&lt;br&gt;&amp;gt; Subject to a Bandwidth Constraint using Linear Programming Relaxation
&lt;br&gt;&amp;gt; and I have created 2 LP files for the problem.
&lt;br&gt;&lt;br&gt;&amp;gt; Test 1: (using Binary structural variables)
&lt;br&gt;&amp;gt; ===============================
&lt;br&gt;&amp;gt; 1) BinaryLinearProgramming_LP_file.txt (see attached file)
&lt;br&gt;&amp;gt; 2) routine lpx_intopt(lp)
&lt;br&gt;&amp;gt; 3) I obtained Output_BinaryLinearProgram.txt (see attached file)
&lt;br&gt;&lt;br&gt;&amp;gt; Test 2: (using bounds structural variables)
&lt;br&gt;&amp;gt; ================================
&lt;br&gt;&amp;gt; 1) LinearProgramRelaxed_LP_file.txt (see attached file)
&lt;br&gt;&amp;gt; 2) routine lpx_interior(lp)
&lt;br&gt;&amp;gt; 3) I obtained Output_LinearProgramRelaxed.txt (see attached file)
&lt;br&gt;&lt;br&gt;&amp;gt; The constraints of &amp;quot;x1+x2&amp;lt;=1&amp;quot; in the LP files is because I do not want
&lt;br&gt;&amp;gt; &amp;quot;x1&amp;quot; and &amp;quot;x2&amp;quot; to be in the solution at the same time because &amp;quot;x1&amp;quot; is
&lt;br&gt;&amp;gt; not edge-disjoint with &amp;quot;x2&amp;quot;. Same goes for the rest of the constraints
&lt;br&gt;&amp;gt; in the LP files.
&lt;br&gt;&lt;br&gt;&amp;gt; I have 3 questions:
&lt;br&gt;&amp;gt; 1) The output from the Test 1 using Binary structural variables is
&lt;br&gt;&amp;gt; correct but why I got all &amp;quot;0.5&amp;quot; for all the structural variables in
&lt;br&gt;&amp;gt; the LP Relaxed? Is my formulation of the LP file using the LP
&lt;br&gt;&amp;gt; Relaxation correct?
&lt;br&gt;&lt;br&gt;You get fractional solution, because LinearProgramRelaxed_LP_file
&lt;br&gt;does not constraint variables to be integer-valued unlike
&lt;br&gt;BinaryLinearProgramming_LP_file which does.
&lt;br&gt;&lt;br&gt;&amp;gt; 2) Using the Linear Programming Relaxation (LPR) method to obtain an
&lt;br&gt;&amp;gt; approximate algorithm does not mean that the approximation is for the
&lt;br&gt;&amp;gt; objective function, is that right? Because we cannot guarantee how
&lt;br&gt;&amp;gt; close we are to the optimal result using the LPR, is that right? Using
&lt;br&gt;&amp;gt; the LPR method is more like a heuristics algorithm, is that right?
&lt;br&gt;&lt;br&gt;LPR does not give you an approximation to the exact solution, because
&lt;br&gt;its solution may be fractional (which it is). It only gives you a global
&lt;br&gt;bound to the exact optimum in the sense that optimal objective value
&lt;br&gt;for the original (non-relaxed) problem *cannot* be better than optimal
&lt;br&gt;objective value for LPR.
&lt;br&gt;&lt;br&gt;&amp;gt; 3) How do I cite GLPK for a paper conference submission?
&lt;br&gt;&lt;br&gt;GNU Linear Programming Kit Version X.Y, &lt;a href=&quot;http://www.gnu.org/software/glpk/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/glpk/&lt;/a&gt;&amp;nbsp;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26543709&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Linear-Programming-Relaxation-tp26496144p26543709.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26543419</id>
	<title>Re: Re: GLPK MingW build files and PyGLPK</title>
	<published>2009-11-27T06:50:32Z</published>
	<updated>2009-11-27T06:50:32Z</updated>
	<author>
		<name>Andrew Makhorin</name>
	</author>
	<content type="html">&amp;gt;&amp;gt; Under cygwin gcc is run with default options '-g' (that includes
&lt;br&gt;&amp;gt;&amp;gt; debugging info into the executable) and '-O2'. On my 32-bit windows
&lt;br&gt;&amp;gt;&amp;gt; machine I build glpk using 'make CFLAGS=-O3', and the code is about
&lt;br&gt;&amp;gt;&amp;gt; 30% faster than the one built with MSVS 2010 'cl -O3'.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; I've experienced some issues using O3 cflag in past, but using O2 all 
&lt;br&gt;&amp;gt; looks great.
&lt;br&gt;&lt;br&gt;&amp;gt; 30% faster? Good. How you timed this? Testing some models using both 
&lt;br&gt;&amp;gt; builds (and some others, like MingW), I've seen that there is no build 
&lt;br&gt;&amp;gt; that runs all models in better time. Maybe in specific operations (like 
&lt;br&gt;&amp;gt; DB access or problem generation) it can be timed, but not in solve 
&lt;br&gt;&amp;gt; process (the longest task when reduce time become a problem).
&lt;br&gt;&lt;br&gt;Sorry, I was wrong. Probably my opinion was based on some inaccurate
&lt;br&gt;experiments.
&lt;br&gt;&lt;br&gt;It is surprising to me, but the code produced with 'gcc -O2' looks to
&lt;br&gt;be faster than with 'gcc -O3', though -O3 is claimed as &amp;quot;the third and
&lt;br&gt;highest level enables even more optimizations by putting emphasis on
&lt;br&gt;speed over size, that includes optimizations enabled at -O2 and
&lt;br&gt;rename-register&amp;quot;. (However, highly optimized code may overload the
&lt;br&gt;instruction cache and thus slow down the CPU performance.)
&lt;br&gt;&lt;br&gt;Below here are solution times for dfl001.mps from netlib (solved with
&lt;br&gt;the lp presolver disabled):
&lt;br&gt;&lt;br&gt;Cygwin GCC -O2:
&lt;br&gt;Time used: &amp;nbsp; 183.3 secs
&lt;br&gt;Memory used: 8.1 Mb (8466625 bytes)
&lt;br&gt;&lt;br&gt;Cygwin GCC -O3:
&lt;br&gt;Time used: &amp;nbsp; 204.7 secs
&lt;br&gt;Memory used: 8.1 Mb (8466625 bytes)
&lt;br&gt;&lt;br&gt;MSVC 10.0 -O2:
&lt;br&gt;Time used: &amp;nbsp; 197.5 secs
&lt;br&gt;Memory used: 8.1 Mb (8466625 bytes)
&lt;br&gt;&lt;br&gt;&amp;gt; A note about GUSEK: building with cygwin the binary needs cygwin dll, a
&lt;br&gt;&amp;gt; little big add to the package. And, if I presume that cygwin dll is as a 
&lt;br&gt;&amp;gt; system prerequisite, GUSEK will not be self-portable.
&lt;br&gt;&lt;br&gt;I agree with you. Since Gusek is a Windows application, using a native
&lt;br&gt;executable not requiring dll is more convenient for the end-user.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26543419&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/glpk-4.40-release-information-tp26179437p26543419.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26541948</id>
	<title>Re: Re: GLPK MingW build files and PyGLPK</title>
	<published>2009-11-27T04:44:23Z</published>
	<updated>2009-11-27T04:44:23Z</updated>
	<author>
		<name>Luiz Bettoni</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;At 26/11/2009 14:35, Andrew Makhorin wrote:
&lt;br&gt;&amp;gt; Under cygwin gcc is run with default options '-g' (that includes
&lt;br&gt;&amp;gt; debugging info into the executable) and '-O2'. On my 32-bit windows
&lt;br&gt;&amp;gt; machine I build glpk using 'make CFLAGS=-O3', and the code is about
&lt;br&gt;&amp;gt; 30% faster than the one built with MSVS 2010 'cl -O3'.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;I've experienced some issues using O3 cflag in past, but using O2 all 
&lt;br&gt;looks great.
&lt;br&gt;&lt;br&gt;30% faster? Good. How you timed this? Testing some models using both 
&lt;br&gt;builds (and some others, like MingW), I've seen that there is no build 
&lt;br&gt;that runs all models in better time. Maybe in specific operations (like 
&lt;br&gt;DB access or problem generation) it can be timed, but not in solve 
&lt;br&gt;process (the longest task when reduce time become a problem).
&lt;br&gt;&lt;br&gt;A note about GUSEK: building with cygwin the binary needs cygwin dll, a 
&lt;br&gt;little big add to the package. And, if I presume that cygwin dll is as a 
&lt;br&gt;system prerequisite, GUSEK will not be self-portable.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541948&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/glpk-4.40-release-information-tp26179437p26541948.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26537881</id>
	<title>Re: Linear Programming Relaxation</title>
	<published>2009-11-26T20:36:41Z</published>
	<updated>2009-11-26T20:36:41Z</updated>
	<author>
		<name>Paul Loh</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:arial, helvetica, sans-serif;font-size:14pt&quot;&gt;&lt;DIV&gt;
&lt;DIV&gt;&lt;FONT color=#007f40 size=4&gt;Hi Andrew,&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#007f40 size=4&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#007f40 size=4&gt;Just to clarify on Linear Programming Relaxation. &lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#007f40 size=4&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#007f40 size=4&gt;I am attempting to solve the NP-hard problem of Optimizing Reliability Subject to a Bandwidth Constraint using Linear Programming Relaxation and I have created 2&amp;nbsp;LP files for the problem.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#007f40 size=4&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#007f40 size=4&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#007f40 size=4&gt;Test 1: (using Binary structural variables)&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#007f40 size=4&gt;===============================&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#007f40 size=4&gt;1) BinaryLinearProgramming_LP_file.txt (see attached file)&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#007f40 size=4&gt;2) routine lpx_intopt(lp)&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#007f40 size=4&gt;3) I obtained&amp;nbsp;Output_BinaryLinearProgram.txt (see attached file)&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#007f40 size=4&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#007f40 size=4&gt;Test 2: (using bounds structural variables)&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#007f40 size=4&gt;================================&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#007f40 size=4&gt;1) LinearProgramRelaxed_LP_file.txt (see attached file)&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#007f40 size=4&gt;2) routine lpx_interior(lp)&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#007f40 size=4&gt;3) I obtained Output_LinearProgramRelaxed.txt (see attached file)&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#007f40 size=4&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#007f40 size=4&gt;The constraints of &quot;x1+x2&amp;lt;=1&quot; in the LP files&amp;nbsp;is because I do not want &quot;x1&quot; and &quot;x2&quot; to be in the solution at the same time because &quot;x1&quot; is not edge-disjoint with &quot;x2&quot;. Same goes for the rest of the constraints in the LP files.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#007f40 size=4&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#007f40 size=4&gt;I have 3 questions:&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color=#007f40 size=4&gt;1) The output from the Test 1 using Binary structural variables is correct but why I got all &quot;0.5&quot; for all the&amp;nbsp;structural variables in the&amp;nbsp;LP Relaxed?&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=#007f40 size=4&gt;Is my formulation of the LP file using the LP Relaxation correct?&lt;/FONT&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;FONT color=#007f40 size=4&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#007f40 size=4&gt;2) Using the Linear Programming Relaxation (LPR)&amp;nbsp;method to obtain an approximate algorithm does not mean that the approximation is for the objective function, is that right? Because we cannot guarantee how close we are to the optimal result using the LPR, is that right? Using the LPR method is more like a heuristics algorithm, is that right?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#007f40 size=4&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#007f40 size=4&gt;3) How do I&amp;nbsp;cite GLPK for a paper conference submission?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#007f40 size=4&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#007f40 size=4&gt;Thank you.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#007f40 size=4&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#007f40 size=4&gt;Rdgs,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#007f40 size=4&gt;Paul&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#007f40 size=4&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;/DIV&gt;
&lt;DIV style=&quot;FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 14pt&quot;&gt;&lt;BR&gt;
&lt;DIV style=&quot;FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px&quot;&gt;&lt;FONT size=2 face=Tahoma&gt;
&lt;HR SIZE=1&gt;
&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;From:&lt;/SPAN&gt;&lt;/B&gt; Andrew Makhorin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26537881&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mao@...&lt;/a&gt;&amp;gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;To:&lt;/SPAN&gt;&lt;/B&gt; RC Loh &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26537881&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rc_loh@...&lt;/a&gt;&amp;gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Cc:&lt;/SPAN&gt;&lt;/B&gt; David Bremner &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26537881&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bremner-dated-1260363255.d81d4d@...&lt;/a&gt;&amp;gt;; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26537881&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help-glpk@...&lt;/a&gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Sent:&lt;/SPAN&gt;&lt;/B&gt; Thursday, 26 November 2009 2:48:55&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Subject:&lt;/SPAN&gt;&lt;/B&gt; Re: [Help-glpk] Linear Programming Relaxation&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;&amp;gt; What does actually &quot;2-approximation&quot; &quot;3-approximation&quot; or&lt;BR&gt;&amp;gt; &quot;6-approximation&quot; means?&lt;BR&gt;&lt;BR&gt;See:&lt;BR&gt;&lt;A href=&quot;http://en.wikipedia.org/wiki/Approximation_algorithm&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://en.wikipedia.org/wiki/Approximation_algorithm&lt;/A&gt;&lt;BR&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;!-- cg1.c960.mail.sg1.yahoo.com compressed/chunked Fri Nov 20 09:46:39 SGT 2009 --&gt;&lt;/div&gt;&lt;br&gt;
      &lt;hr size=1&gt; &lt;a href=&quot;http://us.rd.yahoo.com/SIG=11dvbsnb8/**http%3A%2F%2Fwww.trueswitch.com%2Fyahoo-sg&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt; Have a new Yahoo! Mail account?&lt;/a&gt;&lt;br&gt;Kick start your journey by importing all your contacts!&lt;/br&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;minimize
&lt;br&gt;z: -0.067526 x1 -0.443697 x2 -0.245652 x3 -0.039244 x4 -0.170053 x5 -0.107182 x6 -0.164309 x7 -0.079877 x8 -0.083525 x9 -0.042542 x10 -0.149721 x11 -0.073411 x12 -0.062683 x13 -0.041302 x14 -0.090979 x15 -0.046144 x16 -0.025028 x17 
&lt;br&gt;subject to
&lt;br&gt;bw: 9 x1 + 8 x2 + 8 x3 + 8 x4 + 8 x5 + 8 x6 + 8 x7 + 8 x8 + 8 x9 + 8 x10 + 8 x11 + 8 x12 + 8 x13 + 8 x14 + 8 x15 + 8 x16 + 8 x17 &amp;nbsp;&amp;gt;= 9
&lt;br&gt;r_1: x1 + x2 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_2: x1 + x3 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_3: x1 + x4 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_4: x1 + x5 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_5: x1 + x6 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_6: x1 + x7 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_7: x1 + x9 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_8: x1 + x10 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_9: x1 + x11 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_10: x1 + x12 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_11: x1 + x13 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_12: x1 + x14 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_13: x1 + x15 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_14: x1 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_15: x1 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_16: x2 + x3 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_17: x2 + x4 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_18: x2 + x5 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_19: x2 + x8 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_20: x2 + x10 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_21: x2 + x12 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_22: x2 + x13 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_23: x2 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_24: x2 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_25: x3 + x4 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_26: x3 + x6 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_27: x3 + x7 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_28: x3 + x8 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_29: x3 + x9 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_30: x3 + x10 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_31: x3 + x11 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_32: x3 + x12 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_33: x3 + x14 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_34: x3 + x15 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_35: x3 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_36: x4 + x5 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_37: x4 + x6 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_38: x4 + x7 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_39: x4 + x8 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_40: x4 + x9 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_41: x4 + x10 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_42: x4 + x11 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_43: x4 + x12 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_44: x4 + x13 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_45: x4 + x14 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_46: x4 + x15 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_47: x4 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_48: x4 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_49: x5 + x6 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_50: x5 + x8 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_51: x5 + x9 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_52: x5 + x10 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_53: x5 + x11 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_54: x5 + x12 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_55: x5 + x13 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_56: x5 + x14 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_57: x5 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_58: x5 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_59: x6 + x7 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_60: x6 + x8 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_61: x6 + x9 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_62: x6 + x10 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_63: x6 + x11 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_64: x6 + x12 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_65: x6 + x13 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_66: x6 + x14 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_67: x6 + x15 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_68: x6 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_69: x6 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_70: x7 + x8 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_71: x7 + x9 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_72: x7 + x10 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_73: x7 + x11 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_74: x7 + x13 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_75: x7 + x14 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_76: x7 + x15 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_77: x7 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_78: x7 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_79: x8 + x9 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_80: x8 + x10 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_81: x8 + x12 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_82: x8 + x13 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_83: x8 + x14 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_84: x8 + x15 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_85: x8 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_86: x8 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_87: x9 + x10 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_88: x9 + x11 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_89: x9 + x12 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_90: x9 + x13 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_91: x9 + x14 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_92: x9 + x15 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_93: x9 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_94: x9 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_95: x10 + x11 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_96: x10 + x12 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_97: x10 + x13 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_98: x10 + x14 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_99: x10 + x15 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_100: x10 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_101: x10 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_102: x11 + x12 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_103: x11 + x13 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_104: x11 + x14 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_105: x11 + x15 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_106: x11 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_107: x11 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_108: x12 + x13 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_109: x12 + x14 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_110: x12 + x15 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_111: x12 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_112: x12 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_113: x13 + x14 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_114: x13 + x15 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_115: x13 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_116: x13 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_117: x14 + x15 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_118: x14 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_119: x14 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_120: x15 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_121: x15 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_122: x16 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;bin x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 
&lt;br&gt;&lt;br&gt;End
&lt;br&gt;&lt;br /&gt;minimize
&lt;br&gt;z: -0.067526 x1 -0.443697 x2 -0.245652 x3 -0.039244 x4 -0.170053 x5 -0.107182 x6 -0.164309 x7 -0.079877 x8 -0.083525 x9 -0.042542 x10 -0.149721 x11 -0.073411 x12 -0.062683 x13 -0.041302 x14 -0.090979 x15 -0.046144 x16 -0.025028 x17 
&lt;br&gt;subject to
&lt;br&gt;bw: 9 x1 + 8 x2 + 8 x3 + 8 x4 + 8 x5 + 8 x6 + 8 x7 + 8 x8 + 8 x9 + 8 x10 + 8 x11 + 8 x12 + 8 x13 + 8 x14 + 8 x15 + 8 x16 + 8 x17 &amp;nbsp;&amp;gt;= 9
&lt;br&gt;r_1: x1 + x2 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_2: x1 + x3 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_3: x1 + x4 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_4: x1 + x5 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_5: x1 + x6 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_6: x1 + x7 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_7: x1 + x9 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_8: x1 + x10 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_9: x1 + x11 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_10: x1 + x12 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_11: x1 + x13 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_12: x1 + x14 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_13: x1 + x15 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_14: x1 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_15: x1 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_16: x2 + x3 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_17: x2 + x4 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_18: x2 + x5 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_19: x2 + x8 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_20: x2 + x10 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_21: x2 + x12 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_22: x2 + x13 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_23: x2 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_24: x2 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_25: x3 + x4 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_26: x3 + x6 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_27: x3 + x7 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_28: x3 + x8 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_29: x3 + x9 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_30: x3 + x10 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_31: x3 + x11 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_32: x3 + x12 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_33: x3 + x14 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_34: x3 + x15 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_35: x3 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_36: x4 + x5 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_37: x4 + x6 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_38: x4 + x7 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_39: x4 + x8 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_40: x4 + x9 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_41: x4 + x10 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_42: x4 + x11 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_43: x4 + x12 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_44: x4 + x13 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_45: x4 + x14 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_46: x4 + x15 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_47: x4 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_48: x4 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_49: x5 + x6 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_50: x5 + x8 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_51: x5 + x9 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_52: x5 + x10 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_53: x5 + x11 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_54: x5 + x12 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_55: x5 + x13 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_56: x5 + x14 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_57: x5 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_58: x5 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_59: x6 + x7 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_60: x6 + x8 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_61: x6 + x9 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_62: x6 + x10 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_63: x6 + x11 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_64: x6 + x12 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_65: x6 + x13 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_66: x6 + x14 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_67: x6 + x15 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_68: x6 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_69: x6 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_70: x7 + x8 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_71: x7 + x9 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_72: x7 + x10 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_73: x7 + x11 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_74: x7 + x13 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_75: x7 + x14 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_76: x7 + x15 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_77: x7 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_78: x7 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_79: x8 + x9 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_80: x8 + x10 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_81: x8 + x12 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_82: x8 + x13 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_83: x8 + x14 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_84: x8 + x15 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_85: x8 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_86: x8 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_87: x9 + x10 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_88: x9 + x11 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_89: x9 + x12 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_90: x9 + x13 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_91: x9 + x14 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_92: x9 + x15 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_93: x9 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_94: x9 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_95: x10 + x11 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_96: x10 + x12 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_97: x10 + x13 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_98: x10 + x14 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_99: x10 + x15 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_100: x10 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_101: x10 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_102: x11 + x12 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_103: x11 + x13 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_104: x11 + x14 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_105: x11 + x15 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_106: x11 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_107: x11 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_108: x12 + x13 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_109: x12 + x14 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_110: x12 + x15 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_111: x12 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_112: x12 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_113: x13 + x14 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_114: x13 + x15 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_115: x13 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_116: x13 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_117: x14 + x15 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_118: x14 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_119: x14 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_120: x15 + x16 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_121: x15 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;r_122: x16 + x17 &amp;nbsp;&amp;lt;= 1
&lt;br&gt;&lt;br&gt;bounds
&lt;br&gt;0&amp;lt;=x1&amp;lt;=1 
&lt;br&gt;0&amp;lt;=x2&amp;lt;=1
&lt;br&gt;0&amp;lt;=x3&amp;lt;=1
&lt;br&gt;0&amp;lt;=x4&amp;lt;=1
&lt;br&gt;0&amp;lt;=x5&amp;lt;=1
&lt;br&gt;0&amp;lt;=x6&amp;lt;=1
&lt;br&gt;0&amp;lt;=x7&amp;lt;=1
&lt;br&gt;0&amp;lt;=x8&amp;lt;=1
&lt;br&gt;0&amp;lt;=x9&amp;lt;=1
&lt;br&gt;0&amp;lt;=x10&amp;lt;=1
&lt;br&gt;0&amp;lt;=x11&amp;lt;=1
&lt;br&gt;0&amp;lt;=x12&amp;lt;=1
&lt;br&gt;0&amp;lt;=x13&amp;lt;=1
&lt;br&gt;0&amp;lt;=x14&amp;lt;=1
&lt;br&gt;0&amp;lt;=x15&amp;lt;=1
&lt;br&gt;0&amp;lt;=x16&amp;lt;=1
&lt;br&gt;0&amp;lt;=x17&amp;lt;=1
&lt;br&gt;&lt;br&gt;End
&lt;br&gt;&lt;br /&gt;&lt;br&gt;lpx_read_cpxlp: 123 rows, 17 columns, 261 non-zeros
&lt;br&gt;lpx_read_cpxlp: 17 integer columns, all of which are binary
&lt;br&gt;lpx_read_cpxlp: 129 lines were read
&lt;br&gt;ipp_basic_tech: &amp;nbsp;0 row(s) and 0 column(s) removed
&lt;br&gt;ipp_reduce_bnds: 1 pass(es) made, 0 bound(s) reduced
&lt;br&gt;ipp_basic_tech: &amp;nbsp;0 row(s) and 0 column(s) removed
&lt;br&gt;ipp_reduce_coef: 1 pass(es) made, 0 coefficient(s) reduced
&lt;br&gt;lpx_intopt: presolved MIP has 123 rows, 17 columns, 261 non-zeros
&lt;br&gt;lpx_intopt: 17 integer columns, all of which are binary
&lt;br&gt;lpx_adv_basis: size of triangular part = 123
&lt;br&gt;Solving LP relaxation...
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 0: &amp;nbsp; objval = &amp;nbsp; 0.000000000e+00 &amp;nbsp; infeas = &amp;nbsp; 1.000000000e+00 (0)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 1: &amp;nbsp; objval = &amp;nbsp;-6.752600000e-02 &amp;nbsp; infeas = &amp;nbsp; 0.000000000e+00 (0)
&lt;br&gt;* &amp;nbsp; &amp;nbsp; 1: &amp;nbsp; objval = &amp;nbsp;-6.752600000e-02 &amp;nbsp; infeas = &amp;nbsp; 0.000000000e+00 (0)
&lt;br&gt;* &amp;nbsp; &amp;nbsp;28: &amp;nbsp; objval = &amp;nbsp;-9.664375000e-01 &amp;nbsp; infeas = &amp;nbsp; 0.000000000e+00 (0)
&lt;br&gt;OPTIMAL SOLUTION FOUND
&lt;br&gt;Integer optimization begins...
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;28: mip = &amp;nbsp; &amp;nbsp; not found yet &amp;gt;= &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-inf &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(1; 0)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;57: mip = &amp;nbsp;-5.508790000e-01 &amp;gt;= &amp;nbsp;-9.664375000e-01 &amp;nbsp;75.4% (10; 0)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;85: mip = &amp;nbsp;-5.934180000e-01 &amp;gt;= &amp;nbsp;-7.280825000e-01 &amp;nbsp;22.7% (6; 4)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;90: mip = &amp;nbsp;-6.080060000e-01 &amp;gt;= &amp;nbsp;-6.825930000e-01 &amp;nbsp;12.3% (3; 8)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;94: mip = &amp;nbsp;-6.080060000e-01 &amp;gt;= &amp;nbsp; &amp;nbsp; tree is empty &amp;nbsp; 0.0% (0; 19)
&lt;br&gt;INTEGER OPTIMAL SOLUTION FOUND
&lt;br&gt;mip_x1= 0.000000
&lt;br&gt;mip_x2= 1.000000
&lt;br&gt;mip_x3= 0.000000
&lt;br&gt;mip_x4= 0.000000
&lt;br&gt;mip_x5= 0.000000
&lt;br&gt;mip_x6= 0.000000
&lt;br&gt;mip_x7= 1.000000
&lt;br&gt;mip_x8= 0.000000
&lt;br&gt;mip_x9= 0.000000
&lt;br&gt;mip_x10= 0.000000
&lt;br&gt;mip_x11= 0.000000
&lt;br&gt;mip_x12= 0.000000
&lt;br&gt;mip_x13= 0.000000
&lt;br&gt;mip_x14= 0.000000
&lt;br&gt;mip_x15= 0.000000
&lt;br&gt;mip_x16= 0.000000
&lt;br&gt;mip_x17= 0.000000
&lt;br&gt;&lt;br&gt;The maximum reliability is 0.753399 with a bandwidth of 16.000000
&lt;br&gt;Press Enter to continue!
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br /&gt;&lt;br&gt;lpx_read_cpxlp: 123 rows, 17 columns, 261 non-zeros
&lt;br&gt;lpx_read_cpxlp: 147 lines were read
&lt;br&gt;lpx_interior: original LP problem has 123 rows and 17 columns
&lt;br&gt;lpx_interior: transformed LP problem has 140 rows and 157 columns
&lt;br&gt;lpx_interior: A has 418 non-zeros
&lt;br&gt;lpx_interior: S has 2170 non-zeros (upper triangle)
&lt;br&gt;lpx_interior: minimal degree ordering...
&lt;br&gt;lpx_interior: computing Cholesky factorization...
&lt;br&gt;lpx_interior: U has 5794 non-zeros
&lt;br&gt;lpx_interior: guessing initial point...
&lt;br&gt;Optimization begins...
&lt;br&gt;&amp;nbsp; 0: obj = &amp;nbsp;-1.731631825e+00; rpi = &amp;nbsp;7.9e+00; rdi = &amp;nbsp;4.9e-01; gap = &amp;nbsp;6.3e-01
&lt;br&gt;&amp;nbsp; 1: obj = &amp;nbsp;-5.196580854e-01; rpi = &amp;nbsp;1.0e+00; rdi = &amp;nbsp;4.9e-02; gap = &amp;nbsp;1.0e+00
&lt;br&gt;&amp;nbsp; 2: obj = &amp;nbsp;-5.227116817e-01; rpi = &amp;nbsp;2.1e-01; rdi = &amp;nbsp;2.5e-02; gap = &amp;nbsp;6.1e-01
&lt;br&gt;&amp;nbsp; 3: obj = &amp;nbsp;-6.436771531e-01; rpi = &amp;nbsp;1.0e-01; rdi = &amp;nbsp;1.2e-02; gap = &amp;nbsp;4.2e-01
&lt;br&gt;&amp;nbsp; 4: obj = &amp;nbsp;-7.601544184e-01; rpi = &amp;nbsp;2.5e-02; rdi = &amp;nbsp;4.4e-03; gap = &amp;nbsp;2.1e-01
&lt;br&gt;&amp;nbsp; 5: obj = &amp;nbsp;-8.501360191e-01; rpi = &amp;nbsp;8.6e-03; rdi = &amp;nbsp;1.5e-03; gap = &amp;nbsp;9.8e-02
&lt;br&gt;&amp;nbsp; 6: obj = &amp;nbsp;-9.355881835e-01; rpi = &amp;nbsp;2.1e-03; rdi = &amp;nbsp;1.6e-04; gap = &amp;nbsp;2.4e-02
&lt;br&gt;&amp;nbsp; 7: obj = &amp;nbsp;-9.627362019e-01; rpi = &amp;nbsp;2.6e-04; rdi = &amp;nbsp;1.7e-05; gap = &amp;nbsp;2.8e-03
&lt;br&gt;&amp;nbsp; 8: obj = &amp;nbsp;-9.660661130e-01; rpi = &amp;nbsp;2.6e-05; rdi = &amp;nbsp;1.7e-06; gap = &amp;nbsp;2.8e-04
&lt;br&gt;&amp;nbsp; 9: obj = &amp;nbsp;-9.664003600e-01; rpi = &amp;nbsp;2.6e-06; rdi = &amp;nbsp;1.7e-07; gap = &amp;nbsp;2.8e-05
&lt;br&gt;&amp;nbsp;10: obj = &amp;nbsp;-9.664337860e-01; rpi = &amp;nbsp;2.6e-07; rdi = &amp;nbsp;1.7e-08; gap = &amp;nbsp;2.8e-06
&lt;br&gt;&amp;nbsp;11: obj = &amp;nbsp;-9.664371286e-01; rpi = &amp;nbsp;2.6e-08; rdi = &amp;nbsp;1.7e-09; gap = &amp;nbsp;2.8e-07
&lt;br&gt;&amp;nbsp;12: obj = &amp;nbsp;-9.664374629e-01; rpi = &amp;nbsp;2.6e-09; rdi = &amp;nbsp;1.7e-10; gap = &amp;nbsp;2.8e-08
&lt;br&gt;&amp;nbsp;13: obj = &amp;nbsp;-9.664374963e-01; rpi = &amp;nbsp;2.6e-10; rdi = &amp;nbsp;1.7e-11; gap = &amp;nbsp;2.8e-09
&lt;br&gt;OPTIMAL SOLUTION FOUND
&lt;br&gt;prim_ipt_x1= 0.500000
&lt;br&gt;prim_ipt_x2= 0.500000
&lt;br&gt;prim_ipt_x3= 0.500000
&lt;br&gt;prim_ipt_x4= 0.500000
&lt;br&gt;prim_ipt_x5= 0.500000
&lt;br&gt;prim_ipt_x6= 0.500000
&lt;br&gt;prim_ipt_x7= 0.500000
&lt;br&gt;prim_ipt_x8= 0.500000
&lt;br&gt;prim_ipt_x9= 0.500000
&lt;br&gt;prim_ipt_x10= 0.500000
&lt;br&gt;prim_ipt_x11= 0.500000
&lt;br&gt;prim_ipt_x12= 0.500000
&lt;br&gt;prim_ipt_x13= 0.500000
&lt;br&gt;prim_ipt_x14= 0.500000
&lt;br&gt;prim_ipt_x15= 0.500000
&lt;br&gt;prim_ipt_x16= 0.500000
&lt;br&gt;prim_ipt_x17= 0.500000
&lt;br&gt;&lt;br&gt;The max. rel= 0.891965 with a bandwidth= 68.499999(prim) 0.000000(dual)
&lt;br&gt;Press Enter to continue!
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26537881&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Linear-Programming-Relaxation-tp26496144p26537881.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26533136</id>
	<title>Re: Re: GLPK MingW build files and PyGLPK</title>
	<published>2009-11-26T09:35:53Z</published>
	<updated>2009-11-26T09:35:53Z</updated>
	<author>
		<name>Andrew Makhorin</name>
	</author>
	<content type="html">&amp;gt; I've build glpsol.exe with MSYS and cygwin.
&lt;br&gt;&amp;gt; Besides it's useful, the binary file has more than double sized and the
&lt;br&gt;&amp;gt; solver looks like quite slower.
&lt;br&gt;&lt;br&gt;Under cygwin gcc is run with default options '-g' (that includes
&lt;br&gt;debugging info into the executable) and '-O2'. On my 32-bit windows
&lt;br&gt;machine I build glpk using 'make CFLAGS=-O3', and the code is about
&lt;br&gt;30% faster than the one built with MSVS 2010 'cl -O3'.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26533136&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/glpk-4.40-release-information-tp26179437p26533136.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26528336</id>
	<title>Gusek : a GLPK IDE for Windows - 0.2.7</title>
	<published>2009-11-26T03:54:28Z</published>
	<updated>2009-11-26T03:54:28Z</updated>
	<author>
		<name>Luiz Bettoni</name>
	</author>
	<content type="html">Hi, All.
&lt;br&gt;&lt;br&gt;I've updated the Gusek project on SourceForge:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://gusek.sourceforge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gusek.sourceforge.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Release 0.2.7 changes:
&lt;br&gt;&amp;nbsp; - GLPK updated to 4.40 - now GUSEK uses GLPK for Windows
&lt;br&gt;&amp;nbsp; &amp;nbsp; pre-build GLPK binaries (thanks to Xypron).
&lt;br&gt;&amp;nbsp; - Added tips folder (gusek_tips), introducing useful
&lt;br&gt;&amp;nbsp; &amp;nbsp; samples to gusek users.
&lt;br&gt;&amp;nbsp; - Added python files support (as in native SciTE) for
&lt;br&gt;&amp;nbsp; &amp;nbsp; PyMathProg modelling (testing).
&lt;br&gt;&lt;br&gt;&lt;br&gt;Gusek provide an open source LP/MILP IDE for Win32,
&lt;br&gt;packing a custom version of the SciTE editor linked to the
&lt;br&gt;GLPK standalone solver (glpsol.exe).
&lt;br&gt;&lt;br&gt;Best Regards,
&lt;br&gt;Luiz Bettoni
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26528336&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gusek-%3A-a-GLPK-IDE-for-Windows---0.2.7-tp26528336p26528336.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26527551</id>
	<title>Re: Re: Re: GLPK MingW build files and PyGLPK</title>
	<published>2009-11-26T03:47:00Z</published>
	<updated>2009-11-26T03:47:00Z</updated>
	<author>
		<name>Luiz Bettoni</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Hi, Nigel, Andrew.&lt;br&gt;
&lt;br&gt;
I've build glpsol.exe with MSYS and cygwin.&lt;br&gt;
Besides it's useful, the binary file has more than double sized and the
solver looks like quite slower.&lt;br&gt;
&lt;br&gt;
So, for my testing purposes, I'll use my own MingW build files. &lt;br&gt;
In Gusek package I'll use Xypron pre-built files.&lt;br&gt;
&lt;br&gt;
Thanks, guys!&lt;br&gt;
Luiz&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
At 16:59, Nigel Galloway wrote:
&lt;blockquote id=&quot;mid_%3C20091106120803_CBB5B7BD6E_ws5-10_us4_outblaze_com%3E&quot; cite=&quot;mid:%3C20091106120803.CBB5B7BD6E@ws5-10.us4.outblaze.com%3E&quot; type=&quot;cite&quot;&gt;
  &lt;pre wrap=&quot;&quot;&gt;You should probably add the MSYS extensions to MingW, these include a make utility compatible with Linux. This is what I usually use to compile glpk on windows using NetBeans rather than Visual C++ as the IDE. I make no changes.

Good Luck,

Nigel

  &lt;/pre&gt;
  &lt;blockquote id=&quot;StationeryCiteGenerated_1&quot; type=&quot;cite&quot;&gt;
    &lt;pre wrap=&quot;&quot;&gt;----- Original Message -----
From: &quot;Andrew Makhorin&quot; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26527551&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mao@...&lt;/a&gt;
To: &quot;Luiz Bettoni&quot; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26527551&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bettoni@...&lt;/a&gt;
Cc: &quot;help-glpk&quot; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26527551&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help-glpk@...&lt;/a&gt;
Subject: [Help-glpk] Re: GLPK MingW build files and PyGLPK
Date: Thu, 5 Nov 2009 20:40:50 +0300


    &lt;/pre&gt;
    &lt;blockquote id=&quot;StationeryCiteGenerated_2&quot; type=&quot;cite&quot;&gt;
      &lt;pre wrap=&quot;&quot;&gt;You do not intend to include MingW w32
build files in GLPK package anymore?
      &lt;/pre&gt;
    &lt;/blockquote&gt;
    &lt;blockquote id=&quot;StationeryCiteGenerated_3&quot; type=&quot;cite&quot;&gt;
      &lt;pre wrap=&quot;&quot;&gt;On every GLPK launch i've patched them and
sent to the list, but if no-one uses mingw
to build GLPK (I'm alone? U), it's wast effort.
      &lt;/pre&gt;
    &lt;/blockquote&gt;
    &lt;blockquote id=&quot;StationeryCiteGenerated_4&quot; type=&quot;cite&quot;&gt;
      &lt;pre wrap=&quot;&quot;&gt;If MingW build files isn't util anymore, I'm
planning replace Gusek glpsol binaries by
winglpk pre-build ones.
      &lt;/pre&gt;
    &lt;/blockquote&gt;
    &lt;pre wrap=&quot;&quot;&gt;If you build only the glpsol executable, why not to use Cygwin?
It allows configuring and building the package in the standard way.
Is there anything specific in Gusek that requires Mingw?
    &lt;/pre&gt;
  &lt;/blockquote&gt;
  &lt;pre wrap=&quot;&quot;&gt;&lt;!----&gt;
  &lt;/pre&gt;
  &lt;pre wrap=&quot;&quot;&gt;&lt;!----&gt;

  &lt;/pre&gt;
&lt;/blockquote&gt;
&lt;/body&gt;
&lt;/html&gt;


&lt;br /&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26527551&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/glpk-4.40-release-information-tp26179437p26527551.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26525179</id>
	<title>glpk and glpk-java</title>
	<published>2009-11-25T23:12:17Z</published>
	<updated>2009-11-25T23:12:17Z</updated>
	<author>
		<name>Torben-5</name>
	</author>
	<content type="html">Hi
&lt;br&gt;&lt;br&gt;I am using Ubuntu 9.04 and I have installed the glpk version 4.39. I 
&lt;br&gt;would like to install the java interface glpk-java version 1.0.6 
&lt;br&gt;(&lt;a href=&quot;http://sourceforge.net/projects/glpk-java/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/projects/glpk-java/&lt;/a&gt;). When trying to compile the 
&lt;br&gt;package I get the compiler error:
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;mkdir -p src/java
&lt;br&gt;mkdir -p java/org/gnu/glpk
&lt;br&gt;swig -I/usr/local/include -I/usr/include -java -package org.gnu.glpk -o 
&lt;br&gt;src/java/glpk_wrap.c -outdir java/org/gnu/glpk glpk.i
&lt;br&gt;libtool --mode=compile gcc -c -fPIC src/java/glpk_wrap.c
&lt;br&gt;libtool: compile: gcc -c -fPIC src/java/glpk_wrap.c -fPIC -DPIC -o 
&lt;br&gt;.libs/glpk_wrap.o
&lt;br&gt;src/java/glpk_wrap.c: In function ‘Java_org_gnu_glpk_GLPKJNI_glp_1vprintf’:
&lt;br&gt;src/java/glpk_wrap.c:7672: error: incompatible types in assignment
&lt;br&gt;make: *** [all] Error 1
&lt;br&gt;&lt;br&gt;&lt;br&gt;I am not an experienced c/c++ programmer, and can not immediately see 
&lt;br&gt;the problem. The source code for the function 
&lt;br&gt;Java_org_gnu_glpk_GLPKJNI_glp_1vprintf
&lt;br&gt;&lt;br&gt;SWIGEXPORT void JNICALL Java_org_gnu_glpk_GLPKJNI_glp_1vprintf(JNIEnv 
&lt;br&gt;*jenv, jclass jcls, jstring jarg1, jlong jarg2) {
&lt;br&gt;char *arg1 = (char *) 0 ;
&lt;br&gt;va_list arg2 ;
&lt;br&gt;va_list *argp2 ;
&lt;br&gt;&lt;br&gt;(void)jenv;
&lt;br&gt;(void)jcls;
&lt;br&gt;arg1 = 0;
&lt;br&gt;if (jarg1) {
&lt;br&gt;arg1 = (char *)(*jenv)-&amp;gt;GetStringUTFChars(jenv, jarg1, 0);
&lt;br&gt;if (!arg1) return ;
&lt;br&gt;}
&lt;br&gt;argp2 = *(va_list **)&amp;jarg2;
&lt;br&gt;if (!argp2) {
&lt;br&gt;SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, &amp;quot;Attempt to 
&lt;br&gt;dereference null va_list&amp;quot;);
&lt;br&gt;return ;
&lt;br&gt;}
&lt;br&gt;arg2 = *argp2;
&lt;br&gt;glp_vprintf((char const *)arg1,arg2);
&lt;br&gt;if (arg1) (*jenv)-&amp;gt;ReleaseStringUTFChars(jenv, jarg1, (const char *)arg1);
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;and line 7672 is
&lt;br&gt;arg2 = *argp2;
&lt;br&gt;&lt;br&gt;Any ideas to what is wrong, would be appreciated.
&lt;br&gt;&lt;br&gt;Best regards
&lt;br&gt;Torben
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26525179&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/glpk-and-glpk-java-tp26525179p26525179.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26518234</id>
	<title>Re: Linear Programming Relaxation</title>
	<published>2009-11-25T10:48:55Z</published>
	<updated>2009-11-25T10:48:55Z</updated>
	<author>
		<name>Andrew Makhorin</name>
	</author>
	<content type="html">&amp;gt; What does actually &amp;quot;2-approximation&amp;quot; &amp;quot;3-approximation&amp;quot; or
&lt;br&gt;&amp;gt; &amp;quot;6-approximation&amp;quot; means?
&lt;br&gt;&lt;br&gt;See:
&lt;br&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Approximation_algorithm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://en.wikipedia.org/wiki/Approximation_algorithm&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518234&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Linear-Programming-Relaxation-tp26496144p26518234.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26514147</id>
	<title>Re: Linear Programming Relaxation</title>
	<published>2009-11-25T07:00:42Z</published>
	<updated>2009-11-25T07:00:42Z</updated>
	<author>
		<name>Paul Loh</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:arial, helvetica, sans-serif;font-size:18pt&quot;&gt;&lt;DIV&gt;Hi David,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thank you very much for your reply. &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I hope you can help me on another question that I could not find the answer from the Internet.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I read some papers that stated &quot;2-approximation&quot; &quot;3-approximation&quot; or &quot;6-approximation&quot; for example the paper titled:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&quot;Massaging a linear programming solution to give a 2-approximation for a generalization of the vertex cover problem&quot;&lt;BR&gt;&lt;/DIV&gt;
&lt;DIV&gt;What does actually &quot;2-approximation&quot; &quot;3-approximation&quot; or &quot;6-approximation&quot; means?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thank-you.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Rdgs,&lt;/DIV&gt;
&lt;DIV&gt;Paul&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style=&quot;FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 18pt&quot;&gt;&lt;BR&gt;
&lt;DIV style=&quot;FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px&quot;&gt;&lt;FONT size=2 face=Tahoma&gt;
&lt;HR SIZE=1&gt;
&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;From:&lt;/SPAN&gt;&lt;/B&gt; David Bremner &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26514147&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bremner@...&lt;/a&gt;&amp;gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;To:&lt;/SPAN&gt;&lt;/B&gt; RC Loh &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26514147&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rc_loh@...&lt;/a&gt;&amp;gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Cc:&lt;/SPAN&gt;&lt;/B&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26514147&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help-glpk@...&lt;/a&gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Sent:&lt;/SPAN&gt;&lt;/B&gt; Wednesday, 25 November 2009 8:54:12&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Subject:&lt;/SPAN&gt;&lt;/B&gt; Re: [Help-glpk] Linear Programming Relaxation&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;RC Loh wrote:&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&amp;gt;Just to confirm on question (2). I understand that GLPK also&amp;nbsp;uses&lt;BR&gt;&amp;gt;Interior Point method. Isn't the Interior Point method a polynomial&lt;BR&gt;&amp;gt;time method?&lt;BR&gt;&lt;BR&gt;Yes it is, but for linear programming, not for integer or mixed&lt;BR&gt;integer programming.&lt;BR&gt;&lt;BR&gt;&amp;gt;So with the Linear Programming Relaxation, the GLPK still does not&lt;BR&gt;&amp;gt;runs in polynomial time?&lt;BR&gt;&lt;BR&gt;A MIP solver needs to solve a whole search tree where each node is an&lt;BR&gt;LP relaxation, and in general
 the number of LP relaxations solved is&lt;BR&gt;not bounded by a polynomial in the input size.&amp;nbsp; There are many books&lt;BR&gt;where this is explained; I happen to know &quot;A First Course in&lt;BR&gt;Combinatorial Optimization&quot; by Jon Lee, see Chapters 6 and 7.&amp;nbsp; &lt;BR&gt;&lt;BR&gt;David&lt;BR&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;!-- cg1.c960.mail.sg1.yahoo.com compressed/chunked Fri Nov 20 09:46:39 SGT 2009 --&gt;&lt;/div&gt;&lt;br&gt;
      &lt;hr size=1&gt; &lt;a href=&quot;http://sg.rd.yahoo.com/sg/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/sg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt; New Email names for you! &lt;/a&gt; &lt;br&gt;
Get the Email name you&amp;#39;ve always wanted on the new @ymail and @rocketmail.&lt;br&gt;
Hurry before someone else does!&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26514147&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Linear-Programming-Relaxation-tp26496144p26514147.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26512164</id>
	<title>Re: Linear Programming Relaxation</title>
	<published>2009-11-25T04:54:12Z</published>
	<updated>2009-11-25T04:54:12Z</updated>
	<author>
		<name>David Bremner-4</name>
	</author>
	<content type="html">RC Loh wrote:
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt;Just to confirm on question (2). I understand that GLPK also uses
&lt;br&gt;&amp;gt;Interior Point method. Isn't the Interior Point method a polynomial
&lt;br&gt;&amp;gt;time method?
&lt;br&gt;&lt;br&gt;Yes it is, but for linear programming, not for integer or mixed
&lt;br&gt;integer programming.
&lt;br&gt;&lt;br&gt;&amp;gt;So with the Linear Programming Relaxation, the GLPK still does not
&lt;br&gt;&amp;gt;runs in polynomial time?
&lt;br&gt;&lt;br&gt;A MIP solver needs to solve a whole search tree where each node is an
&lt;br&gt;LP relaxation, and in general the number of LP relaxations solved is
&lt;br&gt;not bounded by a polynomial in the input size. &amp;nbsp;There are many books
&lt;br&gt;where this is explained; I happen to know &amp;quot;A First Course in
&lt;br&gt;Combinatorial Optimization&amp;quot; by Jon Lee, see Chapters 6 and 7. &amp;nbsp;
&lt;br&gt;&lt;br&gt;David
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26512164&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Linear-Programming-Relaxation-tp26496144p26512164.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26510109</id>
	<title>Callbacks in C#</title>
	<published>2009-11-25T01:59:26Z</published>
	<updated>2009-11-25T01:59:26Z</updated>
	<author>
		<name>jezambranos</name>
	</author>
	<content type="html">Hi
&lt;br&gt;&lt;br&gt;Has anyone have used GLPKSharp to implement cut callbacks , is there a place where i can see an example ?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Sorry for the english
&lt;br&gt;&lt;br&gt;Regards 
&lt;br&gt;Javier &lt;br /&gt;Hi&lt;br /&gt;&lt;br /&gt;Has anyone have used GLPKSharp to implement cut callbacks , is there a place where i can see an example ?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sorry for the english&lt;br /&gt;&lt;br /&gt;Regards &lt;br /&gt;Javier&lt;br /&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26510109&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Callbacks-in-C--tp26510109p26510109.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26507626</id>
	<title>Re: Linear Programming Relaxation</title>
	<published>2009-11-24T21:08:34Z</published>
	<updated>2009-11-24T21:08:34Z</updated>
	<author>
		<name>Paul Loh</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:arial, helvetica, sans-serif;font-size:18pt&quot;&gt;&lt;DIV&gt;Hi Andrew,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thank you very much for your reply.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Just to confirm on question (2). I understand that GLPK also&amp;nbsp;uses Interior Point method. Isn't the Interior Point method a polynomial time method?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;So with the Linear Programming Relaxation, the GLPK still does not runs in polynomial time?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Rdgs,&lt;/DIV&gt;
&lt;DIV&gt;Paul&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style=&quot;FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 18pt&quot;&gt;&lt;BR&gt;
&lt;DIV style=&quot;FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px&quot;&gt;&lt;FONT size=2 face=Tahoma&gt;
&lt;HR SIZE=1&gt;
&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;From:&lt;/SPAN&gt;&lt;/B&gt; Andrew Makhorin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507626&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mao@...&lt;/a&gt;&amp;gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;To:&lt;/SPAN&gt;&lt;/B&gt; RC Loh &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507626&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rc_loh@...&lt;/a&gt;&amp;gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Cc:&lt;/SPAN&gt;&lt;/B&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507626&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help-glpk@...&lt;/a&gt;&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Sent:&lt;/SPAN&gt;&lt;/B&gt; Tuesday, 24 November 2009 11:10:13&lt;BR&gt;&lt;B&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold&quot;&gt;Subject:&lt;/SPAN&gt;&lt;/B&gt; Re: [Help-glpk] Linear Programming Relaxation&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;&amp;gt; I have an Integer Program and I run the GLPK to solve it. I noticed&lt;BR&gt;&amp;gt; that the GLPK automatically turns&amp;nbsp;ON the Linear Programming Relaxation&lt;BR&gt;&amp;gt; without me specifying it. I have&amp;nbsp;4 questions:&lt;BR&gt;&lt;BR&gt;&amp;gt; 1) Can I turned&amp;nbsp;OFF the Linear Programming Relaxation? Because I want&lt;BR&gt;&amp;gt; to let the GLPK run without the relaxation to see how long does&amp;nbsp;the&lt;BR&gt;&amp;gt; program&amp;nbsp;takes to produce a result.&lt;BR&gt;&lt;BR&gt;Solving LP relaxation to optimality is needed to start the
 MIP&lt;BR&gt;search.&lt;BR&gt;&lt;BR&gt;&amp;gt; 2) Can I say that we the Linear Programming Relaxation turns ON, the&lt;BR&gt;&amp;gt; program runs in polynomial time?&lt;BR&gt;&lt;BR&gt;No. Neither the simplex method nor the branch-and-bound method is&lt;BR&gt;a polynomial time algorithm.&lt;BR&gt;&lt;BR&gt;&amp;gt; 3) I understand that with the Linear Programming Relaxation turns on,&lt;BR&gt;&amp;gt; the programs actually produce an approximate result. But GLPK actually&lt;BR&gt;&amp;gt; corrected the approximated results automatically. Can I turn OFF the&lt;BR&gt;&amp;gt; correction of the approximation? Because I want to see the results&lt;BR&gt;&amp;gt; without the correction.&lt;BR&gt;&lt;BR&gt;&amp;gt; 4) How GLPK correct the approximated results?&lt;BR&gt;&lt;BR&gt;Optimal solution to LP relaxation is not an approximation to MIP&lt;BR&gt;solution, because it may be integer infeasible; it gives a global&lt;BR&gt;bound to MIP optimum.&lt;BR&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;!-- cg1.c960.mail.sg1.yahoo.com compressed/chunked Fri Nov 20 09:46:39 SGT 2009 --&gt;&lt;/div&gt;&lt;br&gt;
      &lt;hr size=1&gt; &lt;a href=&quot;http://sg.rd.yahoo.com/sg/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/sg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt; New Email names for you! &lt;/a&gt; &lt;br&gt;
Get the Email name you&amp;#39;ve always wanted on the new @ymail and @rocketmail.&lt;br&gt;
Hurry before someone else does!&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507626&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Linear-Programming-Relaxation-tp26496144p26507626.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26498065</id>
	<title>Re: Linear Programming Relaxation</title>
	<published>2009-11-24T07:10:13Z</published>
	<updated>2009-11-24T07:10:13Z</updated>
	<author>
		<name>Andrew Makhorin</name>
	</author>
	<content type="html">&amp;gt; I have an Integer Program and I run the GLPK to solve it. I noticed
&lt;br&gt;&amp;gt; that the GLPK automatically turns ON the Linear Programming Relaxation
&lt;br&gt;&amp;gt; without me specifying it. I have 4 questions:
&lt;br&gt;&lt;br&gt;&amp;gt; 1) Can I turned OFF the Linear Programming Relaxation? Because I want
&lt;br&gt;&amp;gt; to let the GLPK run without the relaxation to see how long does the
&lt;br&gt;&amp;gt; program takes to produce a result.
&lt;br&gt;&lt;br&gt;Solving LP relaxation to optimality is needed to start the MIP
&lt;br&gt;search.
&lt;br&gt;&lt;br&gt;&amp;gt; 2) Can I say that we the Linear Programming Relaxation turns ON, the
&lt;br&gt;&amp;gt; program runs in polynomial time?
&lt;br&gt;&lt;br&gt;No. Neither the simplex method nor the branch-and-bound method is
&lt;br&gt;a polynomial time algorithm.
&lt;br&gt;&lt;br&gt;&amp;gt; 3) I understand that with the Linear Programming Relaxation turns on,
&lt;br&gt;&amp;gt; the programs actually produce an approximate result. But GLPK actually
&lt;br&gt;&amp;gt; corrected the approximated results automatically. Can I turn OFF the
&lt;br&gt;&amp;gt; correction of the approximation? Because I want to see the results
&lt;br&gt;&amp;gt; without the correction.
&lt;br&gt;&lt;br&gt;&amp;gt; 4) How GLPK correct the approximated results?
&lt;br&gt;&lt;br&gt;Optimal solution to LP relaxation is not an approximation to MIP
&lt;br&gt;solution, because it may be integer infeasible; it gives a global
&lt;br&gt;bound to MIP optimum.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26498065&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Linear-Programming-Relaxation-tp26496144p26498065.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26496144</id>
	<title>Linear Programming Relaxation</title>
	<published>2009-11-24T05:45:06Z</published>
	<updated>2009-11-24T05:45:06Z</updated>
	<author>
		<name>Paul Loh</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;div style=&quot;font-family:arial, helvetica, sans-serif;font-size:18pt;color:#407f00;&quot;&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I have an Integer Program and I run the GLPK to solve it. I noticed that the GLPK automatically turns&amp;nbsp;ON the Linear Programming Relaxation without me specifying it. I have&amp;nbsp;4 questions:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;1) Can I turned&amp;nbsp;OFF the Linear Programming Relaxation? Because I want to let the GLPK run without the relaxation to see how long does&amp;nbsp;the program&amp;nbsp;takes to produce a result.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;2) Can I say that we the Linear Programming Relaxation turns ON, the program runs in polynomial time?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;3) I understand that with the Linear Programming Relaxation turns on, the programs actually produce an approximate result. But GLPK actually corrected the approximated results automatically. Can I turn OFF the correction of the approximation? Because I want to see the results without the correction.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;4) How GLPK correct the approximated results?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thank you.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Rdgs,&lt;/DIV&gt;
&lt;DIV&gt;Paul&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;!-- cg1.c960.mail.sg1.yahoo.com compressed/chunked Fri Nov 20 09:46:39 SGT 2009 --&gt;&lt;/div&gt;&lt;br&gt;
      &lt;hr size=1&gt; &lt;a href=&quot;http://sg.rd.yahoo.com/sg/mail/domainchoice/mail/signature/*http://mail.promotions.yahoo.com/newdomains/sg/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt; Get your new Email address! &lt;/a&gt; &lt;br&gt;
Grab the Email name you&amp;#39;ve always wanted before someone else does!&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Help-glpk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26496144&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-glpk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-glpk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-glpk&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---GLPK---Help-f1654.html&quot; embed=&quot;fixTarget[1654]&quot; target=&quot;_top&quot; &gt;Gnu - GLPK - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Linear-Programming-Relaxation-tp26496144p26496144.html" />
</entry>

</feed>
