<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-14350</id>
	<title>Nabble - lp_solve</title>
	<updated>2009-12-09T21:32:45Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/lp_solve-f14350.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/lp_solve-f14350.html" />
	<subtitle type="html">Mixed Integer Programming (MIP) solver. This group contains the latest version of lp_solve, a free (see LGPL in the Files section for the GNU lesser general public license) linear (integer) programming solver with full source, examples and manuals. lp_solve solves pure linear, (mixed) integer/binary, semi-continuous and special ordered sets (SOS) models. lp_solve has no limit on model size and accepts both lp or mps input files. It can also be called as a library from different languages like C, VB, .NET, Delphi, Excel, Java, ...</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26722382</id>
	<title>Re: Description of Branch-Bound rules and when to use them?</title>
	<published>2009-12-09T21:32:45Z</published>
	<updated>2009-12-09T21:32:45Z</updated>
	<author>
		<name>geoffwhittington</name>
	</author>
	<content type="html">Thanks William.
&lt;br&gt;&lt;br&gt;--- In &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26722382&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt;, &amp;quot;William H. Patton&amp;quot; &amp;lt;pattonwh@...&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; NO, not at all. Branch and bound is the process that searches for the
&lt;br&gt;&amp;gt; integer solutions INSIDE the convex hull described by the constraints.
&lt;br&gt;&amp;gt; &amp;quot;which non-integer variable is to be selected&amp;quot; means
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; at this tree node, which column required to be integer BUT not yet integer
&lt;br&gt;&amp;gt; in the current LP solution is chosen to be fixed at a near by integer value.
&lt;br&gt;&amp;gt; This defines the next problem node to be solved.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The next problem may be infeasible or have a poorer solution than the best
&lt;br&gt;&amp;gt; current solution.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If so, this branch of the tree search is abandoned and another choice is
&lt;br&gt;&amp;gt; made. The same happens if it has a better solution - another not yet integer
&lt;br&gt;&amp;gt; is fixed and the search proceeds deeper into the tree.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; When all the required to be integer columns achieve integer values a
&lt;br&gt;&amp;gt; feasible terminal node is reached.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The objective value here is compared with the current best integer solution
&lt;br&gt;&amp;gt; and this node is abandoned by marking this branch done. The search continues
&lt;br&gt;&amp;gt; upward to an un-examined branch.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Branch and bound finishes when all nodes have been marked as examind.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The rules are there - together with more subtle options like variable
&lt;br&gt;&amp;gt; priority assignment - to influence the choice of the next not yet integer
&lt;br&gt;&amp;gt; variable to fix. &amp;nbsp;Different choices can vastly reduce the number of nodes
&lt;br&gt;&amp;gt; actually searched. But ii is only a kind of trial process that can find
&lt;br&gt;&amp;gt; which choice is bes for a bunch of similar problems.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; set_var_weights
&lt;br&gt;&amp;gt; &amp;lt;mk:@MSITStore:F:\lpsolve-55\_lp_solveSRCS\5.5.0.14\lp_solve_5.5.0.14.chm::/
&lt;br&gt;&amp;gt; set_var_weights.htm&amp;gt; , get_var_priority
&lt;br&gt;&amp;gt; &amp;lt;mk:@MSITStore:F:\lpsolve-55\_lp_solveSRCS\5.5.0.14\lp_solve_5.5.0.14.chm::/
&lt;br&gt;&amp;gt; get_var_priority.htm&amp;gt; , set_var_branch
&lt;br&gt;&amp;gt; &amp;lt;mk:@MSITStore:F:\lpsolve-55\_lp_solveSRCS\5.5.0.14\lp_solve_5.5.0.14.chm::/
&lt;br&gt;&amp;gt; set_var_branch.htm&amp;gt; , get_var_branch
&lt;br&gt;&amp;gt; &amp;lt;mk:@MSITStore:F:\lpsolve-55\_lp_solveSRCS\5.5.0.14\lp_solve_5.5.0.14.chm::/
&lt;br&gt;&amp;gt; get_var_branch.htm&amp;gt; ,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; William
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; _____ &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26722382&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26722382&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt;] On Behalf
&lt;br&gt;&amp;gt; Of geoffwhittington
&lt;br&gt;&amp;gt; Sent: Wednesday, December 02, 2009 12:13 AM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26722382&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: [lp_solve] Re: Description of Branch-Bound rules and when to use
&lt;br&gt;&amp;gt; them?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is it fair to say that the rule is irrelevant for those problems that have
&lt;br&gt;&amp;gt; only integer columns? I say this because of the function description ...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; The set_bb_rule function specifies the branch-and-bound rule for
&lt;br&gt;&amp;gt; choosing which non-integer variable is to be selected. This rule can
&lt;br&gt;&amp;gt; influence solving times considerably. Depending on the model one rule can be
&lt;br&gt;&amp;gt; best and for another model another rule.
&lt;br&gt;&amp;gt; The default is NODE_FIRSTSELECT (0). 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --- In lp_solve@yahoogroup &amp;lt;mailto:lp_solve%40yahoogroups.com&amp;gt; s.com, Kjell
&lt;br&gt;&amp;gt; Eikland &amp;lt;kjell.eikland@&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; The simple answer is no. You have to look at various textbooks, papers,
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; &amp;gt; source code and on-line help to find this kind of info. Usually, the
&lt;br&gt;&amp;gt; &amp;gt; suitability of options is highly problem-dependent. At some point, it may
&lt;br&gt;&amp;gt; &amp;gt; be writen up fully in the help documentation.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Kjell
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; From: lp_solve@yahoogroup &amp;lt;mailto:lp_solve%40yahoogroups.com&amp;gt; s.com 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; [mailto:lp_solve@yahoogroup &amp;lt;mailto:lp_solve%40yahoogroups.com&amp;gt; s.com]
&lt;br&gt;&amp;gt; On Behalf Of dog4pavlov
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; Sent: 12 June 2006 20:31
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; To: lp_solve@yahoogroup &amp;lt;mailto:lp_solve%40yahoogroups.com&amp;gt; s.com
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; Subject: [lp_solve] Description of Branch-Bound rules and 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; when to use them?
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; Hi All,
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; Sorry if this has been discussed before.
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; Is there a place that describes the details of each 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; Branch-Bound rule 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; choice (such as Greedy, PseudoCost, etc..) and when best to 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; use these?
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; Thanks,
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; ------------------------ Yahoo! Groups Sponsor 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; --------------------~--&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; You can search right from your browser? It's easy and it's 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; free. See how.
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; &lt;a href=&quot;http://us.click&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://us.click&lt;/a&gt;.
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/W4wwlB/TM&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/W4wwlB/TM&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; yahoo.com/_7bhrC/NGxNAA/yQLSAA/W4wwlB/TM
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; ----------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; -------~-&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; Yahoo! Groups Links
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Description-of-Branch-Bound-rules-and-when-to-use-them--tp4834350p26722382.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26717989</id>
	<title>Re: Access violation</title>
	<published>2009-12-09T13:23:08Z</published>
	<updated>2009-12-09T13:23:08Z</updated>
	<author>
		<name>Peter Notebaert-2</name>
	</author>
	<content type="html">Can't do anything with this. You give too less information.
&lt;br&gt;&lt;br&gt;Peter
&lt;br&gt;&lt;br&gt;&lt;br&gt;From: marwan_abb 
&lt;br&gt;Sent: Wednesday, December 09, 2009 22:09
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26717989&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt; 
&lt;br&gt;Subject: [lp_solve] Access violation
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; 
&lt;br&gt;I am trying to call lp_solve from visual studio and when i try to run the code i have the following error &amp;quot;0xC0000005: Access violation writing location 0x00000010&amp;quot;.
&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Access-violation-tp26717770p26717989.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26717770</id>
	<title>Access violation</title>
	<published>2009-12-09T13:09:51Z</published>
	<updated>2009-12-09T13:09:51Z</updated>
	<author>
		<name>Marwan Abbadi</name>
	</author>
	<content type="html">I am trying to call lp_solve from visual studio and when i try to run the code i have the following error &amp;quot;0xC0000005: Access violation writing location 0x00000010&amp;quot;.
&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Access-violation-tp26717770p26717770.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26713567</id>
	<title>Re: conditional statements</title>
	<published>2009-12-09T08:51:21Z</published>
	<updated>2009-12-09T08:51:21Z</updated>
	<author>
		<name>Peter Notebaert-2</name>
	</author>
	<content type="html">Yes,
&lt;br&gt;&lt;br&gt;by using integer/binary variables.
&lt;br&gt;&lt;br&gt;Peter
&lt;br&gt;&lt;br&gt;On Wed, Dec 9, 2009 at 5:20 PM, carlogiacomello
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26713567&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;carlogiacomello@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi everyone,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I wonder if there are some techniques to define conditional statements in a
&lt;br&gt;&amp;gt; linear problem. I would like to set some constraints like the following
&lt;br&gt;&amp;gt; ones:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; IF ( X&amp;gt;0)
&lt;br&gt;&amp;gt; Y = A X + B
&lt;br&gt;&amp;gt; ELSE
&lt;br&gt;&amp;gt; Y = C X + D
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Carlo
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/conditional-statements-tp26713068p26713567.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26713068</id>
	<title>conditional statements</title>
	<published>2009-12-09T08:20:03Z</published>
	<updated>2009-12-09T08:20:03Z</updated>
	<author>
		<name>carlogiacomello-2</name>
	</author>
	<content type="html">Hi everyone,
&lt;br&gt;&lt;br&gt;I wonder if there are some techniques to define conditional statements in a linear problem. I would like to set some constraints like the following ones:
&lt;br&gt;&lt;br&gt;IF ( X&amp;gt;0)
&lt;br&gt;Y = A X + B
&lt;br&gt;ELSE
&lt;br&gt;Y = C X + D
&lt;br&gt;&lt;br&gt;Thank you.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Carlo
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/conditional-statements-tp26713068p26713068.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26700840</id>
	<title>RE: Unbounded solution in LPSolve</title>
	<published>2009-12-08T13:10:32Z</published>
	<updated>2009-12-08T13:10:32Z</updated>
	<author>
		<name>William H. Patton</name>
	</author>
	<content type="html">Presolve columns can detect this.
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp; _____ &amp;nbsp;
&lt;br&gt;&lt;br&gt;From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26700840&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26700840&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt;] On Behalf
&lt;br&gt;Of Jasper de Koning
&lt;br&gt;Sent: Tuesday, December 08, 2009 12:38 PM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26700840&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt;
&lt;br&gt;Subject: [lp_solve] Unbounded solution in LPSolve
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&lt;br&gt;Hello,
&lt;br&gt;&lt;br&gt;I encountered an issue while running LPSolve 5.5.0.14; it finds a solution
&lt;br&gt;for an unbounded problem. Below is an example:
&lt;br&gt;&lt;br&gt;/* Objective function */
&lt;br&gt;max: +C1 + C2 +C3;
&lt;br&gt;&lt;br&gt;/* Constraints */
&lt;br&gt;r1: +C1 + C2 = 10;
&lt;br&gt;r2: +C1 + 2*C2 &amp;lt;= 15;
&lt;br&gt;r3: +C1 &amp;gt;= 0;
&lt;br&gt;r4: +C2 &amp;gt;= 0;
&lt;br&gt;&lt;br&gt;This problem is unbounded, because C3 is a free variable. When I add one
&lt;br&gt;extra restriction to the model: &amp;quot;r5: +C3 &amp;gt;= 0;&amp;quot; lpsolve returns that the
&lt;br&gt;model is unbounded (as I would expect).
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Jasper de Koning
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Unbounded-solution-in-LPSolve-tp26698664p26700840.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26698664</id>
	<title>Unbounded solution in LPSolve</title>
	<published>2009-12-08T10:37:50Z</published>
	<updated>2009-12-08T10:37:50Z</updated>
	<author>
		<name>Jasper de Koning</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I encountered an issue while running LPSolve 5.5.0.14; it finds a solution
&lt;br&gt;for an unbounded problem. Below is an example:
&lt;br&gt;&lt;br&gt;/* Objective function */
&lt;br&gt;max: +C1 + C2 +C3;
&lt;br&gt;&lt;br&gt;/* Constraints */
&lt;br&gt;r1: +C1 + C2 = 10;
&lt;br&gt;r2: +C1 + 2*C2 &amp;lt;= 15;
&lt;br&gt;r3: +C1 &amp;gt;= 0;
&lt;br&gt;r4: +C2 &amp;gt;= 0;
&lt;br&gt;&lt;br&gt;This problem is unbounded, because C3 is a free variable. When I add one
&lt;br&gt;extra restriction to the model: &amp;quot;r5: +C3 &amp;gt;= 0;&amp;quot; lpsolve returns that the
&lt;br&gt;model is unbounded (as I would expect).
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Jasper de Koning
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Unbounded-solution-in-LPSolve-tp26698664p26698664.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26690576</id>
	<title>Re: header file cannot be found</title>
	<published>2009-12-08T00:50:32Z</published>
	<updated>2009-12-08T00:50:32Z</updated>
	<author>
		<name>Marwan Abbadi</name>
	</author>
	<content type="html">Thanks a lot Peter i will try it.
&lt;br&gt;&lt;br&gt;Marwan Abbadi
&lt;br&gt;&lt;br&gt;--- On Mon, 12/7/09, Peter Notebaert &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26690576&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;_peno_@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;From: Peter Notebaert &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26690576&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;_peno_@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Subject: Re: [lp_solve] header file cannot be found
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26690576&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt;
&lt;br&gt;Date: Monday, December 7, 2009, 4:34 PM
&lt;br&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;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;That is a unix header file.
&lt;br&gt; 
&lt;br&gt;The reason for the problem is that you have not 
&lt;br&gt;defined WIN32.
&lt;br&gt; 
&lt;br&gt;So you must define WIN32 in the project and it 
&lt;br&gt;should compile.
&lt;br&gt; 
&lt;br&gt;Peter
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;From: marwan_abb 
&lt;br&gt;Sent: Tuesday, December 08, 2009 00:06
&lt;br&gt;To: lp_solve@yahoogroup s.com 
&lt;br&gt;Subject: [lp_solve] header file cannot be found
&lt;br&gt;&lt;br&gt;  
&lt;br&gt;&lt;br&gt;I am trying to call lp_solve from visual studio 2005, while adding necessary 
&lt;br&gt;headers and run the code the following error keeps appearing &amp;quot;fatal error C1083: 
&lt;br&gt;Cannot open include file: 'dlfcn.h': No such file or directory&amp;quot;, i tried to 
&lt;br&gt;manually locate the header i couldn't find it.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; 
&lt;br&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;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; </content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/header-file-cannot-be-found-tp26685937p26690576.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26686876</id>
	<title>Re: header file cannot be found</title>
	<published>2009-12-07T16:34:33Z</published>
	<updated>2009-12-07T16:34:33Z</updated>
	<author>
		<name>Peter Notebaert-2</name>
	</author>
	<content type="html">That is a unix header file.
&lt;br&gt;&lt;br&gt;The reason for the problem is that you have not defined WIN32.
&lt;br&gt;&lt;br&gt;So you must define WIN32 in the project and it should compile.
&lt;br&gt;&lt;br&gt;Peter
&lt;br&gt;&lt;br&gt;&lt;br&gt;From: marwan_abb 
&lt;br&gt;Sent: Tuesday, December 08, 2009 00:06
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26686876&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt; 
&lt;br&gt;Subject: [lp_solve] header file cannot be found
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; 
&lt;br&gt;I am trying to call lp_solve from visual studio 2005, while adding necessary headers and run the code the following error keeps appearing &amp;quot;fatal error C1083: Cannot open include file: 'dlfcn.h': No such file or directory&amp;quot;, i tried to manually locate the header i couldn't find it.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/header-file-cannot-be-found-tp26685937p26686876.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26685937</id>
	<title>header file cannot be found</title>
	<published>2009-12-07T15:06:53Z</published>
	<updated>2009-12-07T15:06:53Z</updated>
	<author>
		<name>Marwan Abbadi</name>
	</author>
	<content type="html">I am trying to call lp_solve from visual studio 2005, while adding necessary headers and run the code the following error keeps appearing &amp;quot;fatal error C1083: Cannot open include file: 'dlfcn.h': No such file or directory&amp;quot;, i tried to manually locate the header i couldn't find it.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/header-file-cannot-be-found-tp26685937p26685937.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26652807</id>
	<title>how to use lpsolve in c++</title>
	<published>2009-12-04T19:53:36Z</published>
	<updated>2009-12-04T19:53:36Z</updated>
	<author>
		<name>lxz1001</name>
	</author>
	<content type="html">hi!
I am new in LPSOLVE and I want to call LPsolve package in VS 2005, since I am going to count my routine, which is written in c/c++, but I don't know how to call Lpsolve, which is the key package for me, I have downloaded the file lp_solve_5.5.0.15_dev_win32, and my OS is windows XP, the head file like #include &quot;lp_lib.h&quot; is also in my c programm, but the error is that it can't open the file&quot;lp_lib.h&quot;; what should I do after I decompressed files lp_solve_5.5.0.15_dev_win32.zip. thanks!
with best wishes
yours sincerely lei</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/lpsolve-for-vb-2008-tp26126384p26652807.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26636172</id>
	<title>Re: MIP</title>
	<published>2009-12-04T10:07:08Z</published>
	<updated>2009-12-04T10:07:08Z</updated>
	<author>
		<name>LeighAnderson</name>
	</author>
	<content type="html">Got it figured out!! Had too many zeros in some constraints. &amp;nbsp;Works perfect!
&lt;br&gt;&lt;br&gt;Leigh 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Leigh A wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi,
&lt;br&gt;&lt;br&gt;I want to solve a problem where the solution variables have both integers and non-integers but I don't know hwo to setup for some solution variables to be set as integers.
&lt;br&gt;&lt;br&gt;This is my code:
&lt;br&gt;&lt;br&gt;package MIP;
&lt;br&gt;&lt;br&gt;import lpsolve.*;
&lt;br&gt;&lt;br&gt;public class MIP {
&lt;br&gt;&lt;br&gt;&amp;nbsp; public static void main(String[] args) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; try {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // Create a problem with 4 variables and 0 constraints
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; LpSolve solver = LpSolve.makeLp(0, 24);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // add constraints
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strAddConstraint(&amp;quot;1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0&amp;quot;, LpSolve.LE, 20000);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strAddConstraint(&amp;quot;1 1 1 1 1 1 1 1 1 -1 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0&amp;quot;, LpSolve.LE, 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strAddConstraint(&amp;quot;0 0 0 0 0 0 0 0 0 1 0 0 -1500 0 0 0 0 0 0 0 0 0 0 0&amp;quot;, LpSolve.LE, 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strAddConstraint(&amp;quot;0 0 0 0 0 0 0 0 0 0 1 0 0 -2500 0 0 0 0 0 0 0 0 0 0&amp;quot;, LpSolve.LE, 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strAddConstraint(&amp;quot;0 0 0 0 0 0 0 0 0 0 0 1 0 0 -5500 0 0 0 0 0 0 0 0 0&amp;quot;, LpSolve.LE, 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strAddConstraint(&amp;quot;0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 -1 0 0 0 0 0 0 0 0&amp;quot;, LpSolve.LE, 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strAddConstraint(&amp;quot;0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 -1 0 0 0 0 0 0 0&amp;quot;, LpSolve.LE, 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strAddConstraint(&amp;quot;0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 -1 0 0 0 0 0 0&amp;quot;, LpSolve.LE, 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strAddConstraint(&amp;quot;1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 -1 -1 -1 0 0 0&amp;quot;, LpSolve.LE, 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strAddConstraint(&amp;quot;0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 -2500 0 0&amp;quot;, LpSolve.LE, 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strAddConstraint(&amp;quot;0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 -3500 0&amp;quot;, LpSolve.LE, 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strAddConstraint(&amp;quot;0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 -5500&amp;quot;, LpSolve.LE, 0);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // set objective function
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strSetObjFn(&amp;quot;108.57 105.94 83.28 64.08 94.37 51.59 82.18 139.99 96.33 -9.8 -7.27 -5.79 -5388 -7080 -10187 -15182 -16942 -19186 -12.65 -10.04 -8.34 -27535 -33784 -37999&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.setMaxim();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // solve the problem
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.solve();
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // print solution
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&amp;quot;Value of objective function: &amp;quot; + solver.getObjective());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; double[] var = solver.getPtrVariables();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; for (int i = 0; i &amp;lt; var.length; i++) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&amp;quot;Value of var[&amp;quot; + i + &amp;quot;] = &amp;quot; + var[i]);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // delete the problem and free memory
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.deleteLp();
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; catch (LpSolveException e) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;e.printStackTrace();
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&lt;br&gt;}
&lt;br&gt;&lt;br&gt;The answer:
&lt;br&gt;&lt;br&gt;Value of objective function: 2376389.090909091
&lt;br&gt;Value of var[0] = 0.0
&lt;br&gt;Value of var[1] = 0.0
&lt;br&gt;Value of var[2] = 0.0
&lt;br&gt;Value of var[3] = 0.0
&lt;br&gt;Value of var[4] = 0.0
&lt;br&gt;Value of var[5] = 0.0
&lt;br&gt;Value of var[6] = 0.0
&lt;br&gt;Value of var[7] = 20000.0
&lt;br&gt;Value of var[8] = 0.0
&lt;br&gt;Value of var[9] = 0.0
&lt;br&gt;Value of var[10] = 0.0
&lt;br&gt;Value of var[11] = 20000.0
&lt;br&gt;Value of var[12] = 0.0 &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;// if this comes into solution it needs to be an integer
&lt;br&gt;Value of var[13] = 0.0 &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; // if this comes into solution it needs to be an integer
&lt;br&gt;Value of var[14] = 3.6363636363636367 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// if this comes into solution it needs to be an integer
&lt;br&gt;Value of var[15] = 0.0 &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;// if this comes into solution it needs to be an integer
&lt;br&gt;Value of var[16] = 0.0 &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;// if this comes into solution it needs to be an integer
&lt;br&gt;Value of var[17] = 3.636363636363636 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //if this comes into solution it needs to be an integer
&lt;br&gt;Value of var[18] = 0.0
&lt;br&gt;Value of var[19] = 19999.999999999996
&lt;br&gt;Value of var[20] = 0.0
&lt;br&gt;Value of var[21] = 0.0 &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; //if this comes into solution it needs to be an integer
&lt;br&gt;Value of var[22] = 0.0 &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;//if this comes into solution it needs to be an integer
&lt;br&gt;Value of var[23] = 0.0 &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;//if this comes into solution it needs to be an integer
&lt;br&gt;&lt;br&gt;Model name: &amp;nbsp;'' - run #1 &amp;nbsp; &amp;nbsp;
&lt;br&gt;Objective: &amp;nbsp; Maximize(R0)
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;Leigh A.
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MIP-tp26633148p26636172.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26633148</id>
	<title>MIP</title>
	<published>2009-12-03T13:01:32Z</published>
	<updated>2009-12-03T13:01:32Z</updated>
	<author>
		<name>Leigh A</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I want to solve a problem where the solution variables have both integers and non-integers but I don't know hwo to setup for some solution variables to be set as integers.
&lt;br&gt;&lt;br&gt;This is my code:
&lt;br&gt;&lt;br&gt;package MIP;
&lt;br&gt;&lt;br&gt;import lpsolve.*;
&lt;br&gt;&lt;br&gt;public class MIP {
&lt;br&gt;&lt;br&gt;&amp;nbsp; public static void main(String[] args) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; try {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // Create a problem with 4 variables and 0 constraints
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; LpSolve solver = LpSolve.makeLp(0, 24);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // add constraints
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strAddConstraint(&amp;quot;1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0&amp;quot;, LpSolve.LE, 20000);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strAddConstraint(&amp;quot;1 1 1 1 1 1 1 1 1 -1 -1 -1 0 0 0 0 0 0 0 0 0 0 0 0&amp;quot;, LpSolve.LE, 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strAddConstraint(&amp;quot;0 0 0 0 0 0 0 0 0 1 0 0 -1500 0 0 0 0 0 0 0 0 0 0 0&amp;quot;, LpSolve.LE, 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strAddConstraint(&amp;quot;0 0 0 0 0 0 0 0 0 0 1 0 0 -2500 0 0 0 0 0 0 0 0 0 0&amp;quot;, LpSolve.LE, 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strAddConstraint(&amp;quot;0 0 0 0 0 0 0 0 0 0 0 1 0 0 -5500 0 0 0 0 0 0 0 0 0&amp;quot;, LpSolve.LE, 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strAddConstraint(&amp;quot;0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 -1 0 0 0 0 0 0 0 0&amp;quot;, LpSolve.LE, 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strAddConstraint(&amp;quot;0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 -1 0 0 0 0 0 0 0&amp;quot;, LpSolve.LE, 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strAddConstraint(&amp;quot;0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 -1 0 0 0 0 0 0&amp;quot;, LpSolve.LE, 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strAddConstraint(&amp;quot;1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 -1 -1 -1 0 0 0&amp;quot;, LpSolve.LE, 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strAddConstraint(&amp;quot;0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 -2500 0 0&amp;quot;, LpSolve.LE, 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strAddConstraint(&amp;quot;0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 -3500 0&amp;quot;, LpSolve.LE, 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strAddConstraint(&amp;quot;0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 -5500&amp;quot;, LpSolve.LE, 0);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // set objective function
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.strSetObjFn(&amp;quot;108.57 105.94 83.28 64.08 94.37 51.59 82.18 139.99 96.33 -9.8 -7.27 -5.79 -5388 -7080 -10187 -15182 -16942 -19186 -12.65 -10.04 -8.34 -27535 -33784 -37999&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.setMaxim();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // solve the problem
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.solve();
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // print solution
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&amp;quot;Value of objective function: &amp;quot; + solver.getObjective());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; double[] var = solver.getPtrVariables();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; for (int i = 0; i &amp;lt; var.length; i++) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&amp;quot;Value of var[&amp;quot; + i + &amp;quot;] = &amp;quot; + var[i]);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // delete the problem and free memory
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; solver.deleteLp();
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; catch (LpSolveException e) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;e.printStackTrace();
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&lt;br&gt;}
&lt;br&gt;&lt;br&gt;The answer:
&lt;br&gt;&lt;br&gt;Value of objective function: 2376389.090909091
&lt;br&gt;Value of var[0] = 0.0
&lt;br&gt;Value of var[1] = 0.0
&lt;br&gt;Value of var[2] = 0.0
&lt;br&gt;Value of var[3] = 0.0
&lt;br&gt;Value of var[4] = 0.0
&lt;br&gt;Value of var[5] = 0.0
&lt;br&gt;Value of var[6] = 0.0
&lt;br&gt;Value of var[7] = 20000.0
&lt;br&gt;Value of var[8] = 0.0
&lt;br&gt;Value of var[9] = 0.0
&lt;br&gt;Value of var[10] = 0.0
&lt;br&gt;Value of var[11] = 20000.0
&lt;br&gt;Value of var[12] = 0.0 &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;// if this comes into solution it needs to be an integer
&lt;br&gt;Value of var[13] = 0.0 &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; // if this comes into solution it needs to be an integer
&lt;br&gt;Value of var[14] = 3.6363636363636367 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// if this comes into solution it needs to be an integer
&lt;br&gt;Value of var[15] = 0.0 &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;// if this comes into solution it needs to be an integer
&lt;br&gt;Value of var[16] = 0.0 &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;// if this comes into solution it needs to be an integer
&lt;br&gt;Value of var[17] = 3.636363636363636 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //if this comes into solution it needs to be an integer
&lt;br&gt;Value of var[18] = 0.0
&lt;br&gt;Value of var[19] = 19999.999999999996
&lt;br&gt;Value of var[20] = 0.0
&lt;br&gt;Value of var[21] = 0.0 &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; //if this comes into solution it needs to be an integer
&lt;br&gt;Value of var[22] = 0.0 &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;//if this comes into solution it needs to be an integer
&lt;br&gt;Value of var[23] = 0.0 &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;//if this comes into solution it needs to be an integer
&lt;br&gt;&lt;br&gt;Model name: &amp;nbsp;'' - run #1 &amp;nbsp; &amp;nbsp;
&lt;br&gt;Objective: &amp;nbsp; Maximize(R0)
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;Leigh A.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MIP-tp26633148p26633148.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26632880</id>
	<title>Re: Will LPSolve work on Windows 7</title>
	<published>2009-12-03T10:49:54Z</published>
	<updated>2009-12-03T10:49:54Z</updated>
	<author>
		<name>Nguyen Binh</name>
	</author>
	<content type="html">I'm using windows 7 and LPSolve IDE works just fine.
&lt;br&gt;&lt;br&gt;&lt;br&gt;--------------------------------------------------
&lt;br&gt;Binh Nguyen
&lt;br&gt;Computer Science Department
&lt;br&gt;Rensselaer Polytechnic Institute
&lt;br&gt;Troy, NY, 12180
&lt;br&gt;--------------------------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Thu, Dec 3, 2009 at 1:03 PM, tranlo &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26632880&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tranlo@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I just ordered a new monster desktop (12GB RAM, iCore 920 for $999 from
&lt;br&gt;&amp;gt; Costco.com) but it comes with Windows 7.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I should get it in about 7 days, but I was wondering will the LPSolve IDE
&lt;br&gt;&amp;gt; will still work on Windows 7. Has anyone been able to install it and run it
&lt;br&gt;&amp;gt; on Windows 7?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Laurent
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; PS: Peter, thank you so much for this wonderful free solver!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Will-LPSolve-work-on-Windows-7-tp26631081p26632880.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26631081</id>
	<title>Will LPSolve work on Windows 7</title>
	<published>2009-12-03T10:03:09Z</published>
	<updated>2009-12-03T10:03:09Z</updated>
	<author>
		<name>tranlo</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I just ordered a new monster desktop (12GB RAM, iCore 920 for $999 from Costco.com) but it comes with Windows 7.
&lt;br&gt;&lt;br&gt;I should get it in about 7 days, but I was wondering will the LPSolve IDE will still work on Windows 7. Has anyone been able to install it and run it on Windows 7?
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;br&gt;Laurent
&lt;br&gt;&lt;br&gt;PS: Peter, thank you so much for this wonderful free solver!
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Will-LPSolve-work-on-Windows-7-tp26631081p26631081.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26617399</id>
	<title>Re: Lpsolve with Matlab</title>
	<published>2009-12-02T14:09:41Z</published>
	<updated>2009-12-02T14:09:41Z</updated>
	<author>
		<name>tamingsari83</name>
	</author>
	<content type="html">Thank you peter =)
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;________________________________
&lt;br&gt;From: Peter Notebaert &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26617399&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;_peno_@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26617399&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt;
&lt;br&gt;Sent: Wed, December 2, 2009 9:37:44 PM
&lt;br&gt;Subject: Re: [lp_solve] Lpsolve with Matlab
&lt;br&gt;&lt;br&gt;&amp;nbsp; 
&lt;br&gt;That can be done with 
&lt;br&gt;set_break_at_ value:
&lt;br&gt;&amp;nbsp;
&lt;br&gt;mxlpsolve('set_break_at_ value ' , 
&lt;br&gt;lp, obj1*1.15);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Peter
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;From: Tengku Joe 
&lt;br&gt;Sent: Wednesday, December 02, 2009 19:56
&lt;br&gt;To: lp_solve@yahoogroup s.com 
&lt;br&gt;Subject: [lp_solve] Lpsolve with Matlab
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;Hi guys,
&lt;br&gt;I’m using Lpsolve with Matlab in order to solve my 
&lt;br&gt;problem.
&lt;br&gt;The final script should be:
&lt;br&gt;lp_handle 
&lt;br&gt;=
&lt;br&gt;lp_maker(f,a, b,e,vlb,vub, xint,scalemode, setminim) ;
&lt;br&gt;solvestat 
&lt;br&gt;= mxlpsolve('solve' , lp);
&lt;br&gt;obj= mxlpsolve('get_ objective' , 
&lt;br&gt;lp);
&lt;br&gt;x = mxlpsolve('get_ variables' , 
&lt;br&gt;lp);
&lt;br&gt;mxlpsolve('delete_ lp', lp);
&lt;br&gt;&lt;br&gt;Let say for
&lt;br&gt;the first run I 
&lt;br&gt;use real number and I get obj1. Then I want to run it for the
&lt;br&gt;second time 
&lt;br&gt;with integer and try to get obj2. However I want to set up a
&lt;br&gt;condition for 
&lt;br&gt;the second run where the program will stop and give the answer if
&lt;br&gt;the result 
&lt;br&gt;is obj2 &amp;lt;=obj1+15%.
&lt;br&gt;&lt;br&gt;How can I do
&lt;br&gt;that?
&lt;br&gt;&lt;br&gt;I really 
&lt;br&gt;appreciate
&lt;br&gt;your help. Thank you.
&lt;br&gt;&lt;br&gt;-suli-
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; </content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Lpsolve-with-Matlab-tp26614341p26617399.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26616924</id>
	<title>Re: Lpsolve with Matlab</title>
	<published>2009-12-02T13:37:44Z</published>
	<updated>2009-12-02T13:37:44Z</updated>
	<author>
		<name>Peter Notebaert-2</name>
	</author>
	<content type="html">That can be done with set_break_at_value:
&lt;br&gt;&lt;br&gt;mxlpsolve('set_break_at_value', lp, obj1*1.15);
&lt;br&gt;&lt;br&gt;Peter
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;From: Tengku Joe 
&lt;br&gt;Sent: Wednesday, December 02, 2009 19:56
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26616924&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt; 
&lt;br&gt;Subject: [lp_solve] Lpsolve with Matlab
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; 
&lt;br&gt;Hi guys,
&lt;br&gt;I’m using Lpsolve with Matlab in order to solve my problem.
&lt;br&gt;The final script should be:
&lt;br&gt;lp_handle =
&lt;br&gt;lp_maker(f,a,b,e,vlb,vub,xint,scalemode,setminim);
&lt;br&gt;solvestat = mxlpsolve('solve', lp);
&lt;br&gt;obj= mxlpsolve('get_objective', lp);
&lt;br&gt;x = mxlpsolve('get_variables', lp);
&lt;br&gt;mxlpsolve('delete_lp', lp);
&lt;br&gt;&lt;br&gt;Let say for
&lt;br&gt;the first run I use real number and I get obj1. Then I want to run it for the
&lt;br&gt;second time with integer and try to get obj2. However I want to set up a
&lt;br&gt;condition for the second run where the program will stop and give the answer if
&lt;br&gt;the result is obj2 &amp;lt;=obj1+15%.
&lt;br&gt;&lt;br&gt;How can I do
&lt;br&gt;that?
&lt;br&gt;&lt;br&gt;I really appreciate
&lt;br&gt;your help. Thank you.
&lt;br&gt;&lt;br&gt;-suli-
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Lpsolve-with-Matlab-tp26614341p26616924.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26614341</id>
	<title>Lpsolve with Matlab</title>
	<published>2009-12-02T10:56:50Z</published>
	<updated>2009-12-02T10:56:50Z</updated>
	<author>
		<name>tamingsari83</name>
	</author>
	<content type="html">Hi guys,
&lt;br&gt;I’m using Lpsolve with Matlab in order to solve my problem.
&lt;br&gt;The final script should be:
&lt;br&gt;lp_handle =
&lt;br&gt;lp_maker(f,a,b,e,vlb,vub,xint,scalemode,setminim);
&lt;br&gt;solvestat = mxlpsolve('solve', lp);
&lt;br&gt;obj= mxlpsolve('get_objective', lp);
&lt;br&gt;x = mxlpsolve('get_variables', lp);
&lt;br&gt;mxlpsolve('delete_lp', lp);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Let say for
&lt;br&gt;the first run I use real number and I get obj1. Then I want to run it for the
&lt;br&gt;second time with integer and try to get obj2. However I want to set up a
&lt;br&gt;condition for the second run where the program will stop and give the answer if
&lt;br&gt;the result is obj2 &amp;lt;=obj1+15%.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;How can I do
&lt;br&gt;that?
&lt;br&gt;&amp;nbsp;
&lt;br&gt;I really appreciate
&lt;br&gt;your help. Thank you.
&lt;br&gt;&lt;br&gt;-suli-
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Lpsolve-with-Matlab-tp26614341p26614341.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26611710</id>
	<title>RE: Re: Description of Branch-Bound rules and when to use them?</title>
	<published>2009-12-02T08:21:56Z</published>
	<updated>2009-12-02T08:21:56Z</updated>
	<author>
		<name>William H. Patton</name>
	</author>
	<content type="html">NO, not at all. Branch and bound is the process that searches for the
&lt;br&gt;integer solutions INSIDE the convex hull described by the constraints.
&lt;br&gt;&amp;quot;which non-integer variable is to be selected&amp;quot; means
&lt;br&gt;&lt;br&gt;at this tree node, which column required to be integer BUT not yet integer
&lt;br&gt;in the current LP solution is chosen to be fixed at a near by integer value.
&lt;br&gt;This defines the next problem node to be solved.
&lt;br&gt;&lt;br&gt;The next problem may be infeasible or have a poorer solution than the best
&lt;br&gt;current solution.
&lt;br&gt;&lt;br&gt;If so, this branch of the tree search is abandoned and another choice is
&lt;br&gt;made. The same happens if it has a better solution - another not yet integer
&lt;br&gt;is fixed and the search proceeds deeper into the tree.
&lt;br&gt;&lt;br&gt;When all the required to be integer columns achieve integer values a
&lt;br&gt;feasible terminal node is reached.
&lt;br&gt;&lt;br&gt;The objective value here is compared with the current best integer solution
&lt;br&gt;and this node is abandoned by marking this branch done. The search continues
&lt;br&gt;upward to an un-examined branch.
&lt;br&gt;&lt;br&gt;Branch and bound finishes when all nodes have been marked as examind.
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;The rules are there - together with more subtle options like variable
&lt;br&gt;priority assignment - to influence the choice of the next not yet integer
&lt;br&gt;variable to fix. &amp;nbsp;Different choices can vastly reduce the number of nodes
&lt;br&gt;actually searched. But ii is only a kind of trial process that can find
&lt;br&gt;which choice is bes for a bunch of similar problems.
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;set_var_weights
&lt;br&gt;&amp;lt;mk:@MSITStore:F:\lpsolve-55\_lp_solveSRCS\5.5.0.14\lp_solve_5.5.0.14.chm::/
&lt;br&gt;set_var_weights.htm&amp;gt; , get_var_priority
&lt;br&gt;&amp;lt;mk:@MSITStore:F:\lpsolve-55\_lp_solveSRCS\5.5.0.14\lp_solve_5.5.0.14.chm::/
&lt;br&gt;get_var_priority.htm&amp;gt; , set_var_branch
&lt;br&gt;&amp;lt;mk:@MSITStore:F:\lpsolve-55\_lp_solveSRCS\5.5.0.14\lp_solve_5.5.0.14.chm::/
&lt;br&gt;set_var_branch.htm&amp;gt; , get_var_branch
&lt;br&gt;&amp;lt;mk:@MSITStore:F:\lpsolve-55\_lp_solveSRCS\5.5.0.14\lp_solve_5.5.0.14.chm::/
&lt;br&gt;get_var_branch.htm&amp;gt; ,
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;William
&lt;br&gt;&lt;br&gt;&amp;nbsp; _____ &amp;nbsp;
&lt;br&gt;&lt;br&gt;From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26611710&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26611710&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt;] On Behalf
&lt;br&gt;Of geoffwhittington
&lt;br&gt;Sent: Wednesday, December 02, 2009 12:13 AM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26611710&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt;
&lt;br&gt;Subject: [lp_solve] Re: Description of Branch-Bound rules and when to use
&lt;br&gt;them?
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&lt;br&gt;Is it fair to say that the rule is irrelevant for those problems that have
&lt;br&gt;only integer columns? I say this because of the function description ...
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; The set_bb_rule function specifies the branch-and-bound rule for
&lt;br&gt;choosing which non-integer variable is to be selected. This rule can
&lt;br&gt;influence solving times considerably. Depending on the model one rule can be
&lt;br&gt;best and for another model another rule.
&lt;br&gt;The default is NODE_FIRSTSELECT (0). 
&lt;br&gt;&lt;br&gt;--- In lp_solve@yahoogroup &amp;lt;mailto:lp_solve%40yahoogroups.com&amp;gt; s.com, Kjell
&lt;br&gt;Eikland &amp;lt;kjell.eikland@...&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The simple answer is no. You have to look at various textbooks, papers,
&lt;br&gt;the
&lt;br&gt;&amp;gt; source code and on-line help to find this kind of info. Usually, the
&lt;br&gt;&amp;gt; suitability of options is highly problem-dependent. At some point, it may
&lt;br&gt;&amp;gt; be writen up fully in the help documentation.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Kjell
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; -&amp;gt; From: lp_solve@yahoogroup &amp;lt;mailto:lp_solve%40yahoogroups.com&amp;gt; s.com 
&lt;br&gt;&amp;gt; -&amp;gt; [mailto:lp_solve@yahoogroup &amp;lt;mailto:lp_solve%40yahoogroups.com&amp;gt; s.com]
&lt;br&gt;On Behalf Of dog4pavlov
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -&amp;gt; Sent: 12 June 2006 20:31
&lt;br&gt;&amp;gt; -&amp;gt; To: lp_solve@yahoogroup &amp;lt;mailto:lp_solve%40yahoogroups.com&amp;gt; s.com
&lt;br&gt;&amp;gt; -&amp;gt; Subject: [lp_solve] Description of Branch-Bound rules and 
&lt;br&gt;&amp;gt; -&amp;gt; when to use them?
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; Hi All,
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; Sorry if this has been discussed before.
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; Is there a place that describes the details of each 
&lt;br&gt;&amp;gt; -&amp;gt; Branch-Bound rule 
&lt;br&gt;&amp;gt; -&amp;gt; choice (such as Greedy, PseudoCost, etc..) and when best to 
&lt;br&gt;&amp;gt; -&amp;gt; use these?
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; Thanks,
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; ------------------------ Yahoo! Groups Sponsor 
&lt;br&gt;&amp;gt; -&amp;gt; --------------------~--&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; You can search right from your browser? It's easy and it's 
&lt;br&gt;&amp;gt; -&amp;gt; free. See how.
&lt;br&gt;&amp;gt; -&amp;gt; &lt;a href=&quot;http://us.click&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://us.click&lt;/a&gt;.
&lt;/div&gt;&amp;lt;&lt;a href=&quot;http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/W4wwlB/TM&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/W4wwlB/TM&lt;/a&gt;&amp;gt;
&lt;br&gt;yahoo.com/_7bhrC/NGxNAA/yQLSAA/W4wwlB/TM
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -&amp;gt; ----------------------------------------------------------
&lt;br&gt;&amp;gt; -&amp;gt; -------~-&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; Yahoo! Groups Links
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Description-of-Branch-Bound-rules-and-when-to-use-them--tp4834350p26611710.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26604942</id>
	<title>Re: lp_solve55 error about alloc</title>
	<published>2009-12-02T00:03:03Z</published>
	<updated>2009-12-02T00:03:03Z</updated>
	<author>
		<name>Peter Notebaert-2</name>
	</author>
	<content type="html">My guess is that you don't free memory.
&lt;br&gt;Your allocated memory and lp_solves memory. The latter via calling delete_lp after you are done with a submodel.
&lt;br&gt;&lt;br&gt;Peter
&lt;br&gt;&lt;br&gt;&lt;br&gt;From: Jack Bryan 
&lt;br&gt;Sent: Tuesday, December 01, 2009 22:13
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26604942&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt; 
&lt;br&gt;Subject: [lp_solve] lp_solve55 error about alloc
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; 
&lt;br&gt;HI, 
&lt;br&gt;&lt;br&gt;I am trying to use lp_solve5.5 to set up a small MILP model.
&lt;br&gt;&lt;br&gt;It is bounded and feasible. I need to solve it with different A,b,c ever time in a loop. 
&lt;br&gt;So, I use make_lp to design a new model every time. 
&lt;br&gt;&lt;br&gt;After running some loops, I got the following message &amp;quot; alloc of 10000 'INT' failed &amp;quot;.
&lt;br&gt;&lt;br&gt;but the model is still boudned and feasible and give optimal solutions.
&lt;br&gt;&lt;br&gt;And, if I set the loop times very large, such as 16*24*24, the C program stops and give:
&lt;br&gt;-------------------------------------------------------------------------------------
&lt;br&gt;rank 7 in job 578 &amp;nbsp;server.name &amp;nbsp; caused collective abort of all ranks
&lt;br&gt;&amp;nbsp; exit status of rank 7: killed by signal 9
&lt;br&gt;rank 3 in job 578 &amp;nbsp;server.name caused collective abort of all ranks
&lt;br&gt;&amp;nbsp; exit status of rank 3: return code 1
&lt;br&gt;---------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;I run the C program in a MPI cluster .
&lt;br&gt;&lt;br&gt;&lt;br&gt;why ? 
&lt;br&gt;&lt;br&gt;Any help is appreciated. 
&lt;br&gt;&lt;br&gt;thanks
&lt;br&gt;&lt;br&gt;Jack
&lt;br&gt;&lt;br&gt;Dec. 1 2009
&lt;br&gt;&lt;br&gt;---------------------------------
&lt;br&gt;&lt;br&gt;Model name: &amp;nbsp;'milp_model' - run #1
&lt;br&gt;Objective: &amp;nbsp; Minimize(R0)
&lt;br&gt;&lt;br&gt;SUBMITTED
&lt;br&gt;Model size: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8 constraints, &amp;nbsp; &amp;nbsp; &amp;nbsp; 6 variables, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 16 non-zeros.
&lt;br&gt;Sets: &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; 0 GUB, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 SOS.
&lt;br&gt;&lt;br&gt;Using DUAL simplex for phase 1 and PRIMAL simplex for phase 2.
&lt;br&gt;The primal and dual simplex pricing strategy set to 'Devex'.
&lt;br&gt;&lt;br&gt;alloc of 10000 'INT' failed
&lt;br&gt;alloc of 10000 'INT' failed
&lt;br&gt;alloc of 10000 'INT' failed
&lt;br&gt;alloc of 10000 'REAL' failed
&lt;br&gt;alloc of 10000 'INT' failed
&lt;br&gt;&lt;br&gt;Relaxed solution &amp;nbsp; &amp;nbsp; &amp;nbsp; 237566.262512 after &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4 iter is B&amp;B base.
&lt;br&gt;&lt;br&gt;Feasible solution &amp;nbsp; &amp;nbsp; &amp;nbsp;237566.262512 after &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4 iter, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 nodes (gap 0.0%)
&lt;br&gt;&lt;br&gt;Optimal solution &amp;nbsp; &amp;nbsp; &amp;nbsp; 237566.262512 after &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4 iter, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 nodes (gap 0.0%).
&lt;br&gt;&lt;br&gt;Excellent numeric accuracy ||*|| = 8.64864e-13
&lt;br&gt;&lt;br&gt;&amp;nbsp;MEMO: lp_solve version 5.5.0.13 for 32 bit OS, with 64 bit REAL variables.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; In the total iteration count 4, 0 (0.0%) were bound flips.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; There were 0 refactorizations, 0 triggered by time and 0 by density.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;... on average 4.0 major pivots per refactorization.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The largest [LUSOL v2.2.1.0] fact(B) had 9 NZ entries, 1.0x largest basis.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The maximum B&amp;B level was 1, 0.5x MIP order, 1 at the optimal solution.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The constraint matrix inf-norm is 2053.11, with a dynamic range of 2053.11.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Time to load data was 0.006 seconds, presolve used 0.001 seconds,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;... 0.009 seconds in simplex solver, in total 0.016 seconds.
&lt;br&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;--------------------------------------------------------------------------------
&lt;br&gt;Chat with Messenger straight from your Hotmail inbox. Check it out 
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/lp_solve55-error-about-alloc-tp26599161p26604942.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26604099</id>
	<title>Re: Description of Branch-Bound rules and when to use them?</title>
	<published>2009-12-01T22:12:51Z</published>
	<updated>2009-12-01T22:12:51Z</updated>
	<author>
		<name>geoffwhittington</name>
	</author>
	<content type="html">Is it fair to say that the rule is irrelevant for those problems that have only integer columns? I say this because of the function description ...
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; The set_bb_rule function specifies the branch-and-bound rule for choosing which non-integer variable is to be selected. This rule can influence solving times considerably. Depending on the model one rule can be best and for another model another rule.
&lt;br&gt;The default is NODE_FIRSTSELECT (0). 
&lt;br&gt;&lt;br&gt;&lt;br&gt;--- In &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26604099&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt;, Kjell Eikland &amp;lt;kjell.eikland@...&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The simple answer is no. &amp;nbsp;You have to look at various textbooks, papers, the
&lt;br&gt;&amp;gt; source code and on-line help to find this kind of info. &amp;nbsp;Usually, the
&lt;br&gt;&amp;gt; suitability of options is highly problem-dependent. &amp;nbsp;At some point, it may
&lt;br&gt;&amp;gt; be writen up fully in the help documentation.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Kjell
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; -&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26604099&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt; 
&lt;br&gt;&amp;gt; -&amp;gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26604099&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt;] On Behalf Of dog4pavlov
&lt;br&gt;&amp;gt; -&amp;gt; Sent: 12 June 2006 20:31
&lt;br&gt;&amp;gt; -&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26604099&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt;
&lt;br&gt;&amp;gt; -&amp;gt; Subject: [lp_solve] Description of Branch-Bound rules and 
&lt;br&gt;&amp;gt; -&amp;gt; when to use them?
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; Hi All,
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; Sorry if this has been discussed before.
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; Is there a place that describes the details of each 
&lt;br&gt;&amp;gt; -&amp;gt; Branch-Bound rule 
&lt;br&gt;&amp;gt; -&amp;gt; choice (such as Greedy, PseudoCost, etc..) and when best to 
&lt;br&gt;&amp;gt; -&amp;gt; use these?
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; Thanks,
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; ------------------------ Yahoo! Groups Sponsor 
&lt;br&gt;&amp;gt; -&amp;gt; --------------------~--&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; You can search right from your browser? It's easy and it's 
&lt;br&gt;&amp;gt; -&amp;gt; free. &amp;nbsp;See how.
&lt;br&gt;&amp;gt; -&amp;gt; &lt;a href=&quot;http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/W4wwlB/TM&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/W4wwlB/TM&lt;/a&gt;&lt;br&gt;&amp;gt; -&amp;gt; -------------------------------------------------------------
&lt;br&gt;&amp;gt; -&amp;gt; -------~-&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -&amp;gt; Yahoo! Groups Links
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -&amp;gt; 
&lt;br&gt;&amp;gt; -&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Description-of-Branch-Bound-rules-and-when-to-use-them--tp4834350p26604099.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26599161</id>
	<title>lp_solve55 error about alloc</title>
	<published>2009-12-01T13:13:04Z</published>
	<updated>2009-12-01T13:13:04Z</updated>
	<author>
		<name>Frankoctave</name>
	</author>
	<content type="html">&lt;br&gt;HI, 
&lt;br&gt;&lt;br&gt;I am trying to use lp_solve5.5 to set up a small MILP model.
&lt;br&gt;&lt;br&gt;It is bounded and feasible. I need to solve it with different A,b,c ever time in a loop. 
&lt;br&gt;So, I use make_lp to design a new model every time. 
&lt;br&gt;&lt;br&gt;After running some loops, I got the following message &amp;quot; alloc of 10000 'INT' failed &amp;quot;.
&lt;br&gt;&lt;br&gt;but the model is still boudned and feasible and give optimal solutions.
&lt;br&gt;&lt;br&gt;And, if I set the loop times very large, such as 16*24*24, the C program stops and give:
&lt;br&gt;-------------------------------------------------------------------------------------
&lt;br&gt;rank 7 in job 578 &amp;nbsp;server.name &amp;nbsp; caused collective abort of all ranks
&lt;br&gt;&amp;nbsp; exit status of rank 7: killed by signal 9
&lt;br&gt;rank 3 in job 578 &amp;nbsp;server.name caused collective abort of all ranks
&lt;br&gt;&amp;nbsp; exit status of rank 3: return code 1
&lt;br&gt;---------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;I run the C program in a MPI cluster .
&lt;br&gt;&lt;br&gt;&lt;br&gt;why ? 
&lt;br&gt;&lt;br&gt;Any help is appreciated. 
&lt;br&gt;&lt;br&gt;thanks
&lt;br&gt;&lt;br&gt;Jack
&lt;br&gt;&lt;br&gt;Dec. 1 2009
&lt;br&gt;&lt;br&gt;---------------------------------
&lt;br&gt;&lt;br&gt;Model name: &amp;nbsp;'milp_model' - run #1
&lt;br&gt;Objective: &amp;nbsp; Minimize(R0)
&lt;br&gt;&lt;br&gt;SUBMITTED
&lt;br&gt;Model size: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8 constraints, &amp;nbsp; &amp;nbsp; &amp;nbsp; 6 variables, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 16 non-zeros.
&lt;br&gt;Sets: &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; 0 GUB, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 SOS.
&lt;br&gt;&lt;br&gt;Using DUAL simplex for phase 1 and PRIMAL simplex for phase 2.
&lt;br&gt;The primal and dual simplex pricing strategy set to 'Devex'.
&lt;br&gt;&lt;br&gt;alloc of 10000 'INT' failed
&lt;br&gt;alloc of 10000 'INT' failed
&lt;br&gt;alloc of 10000 'INT' failed
&lt;br&gt;alloc of 10000 'REAL' failed
&lt;br&gt;alloc of 10000 'INT' failed
&lt;br&gt;&lt;br&gt;Relaxed solution &amp;nbsp; &amp;nbsp; &amp;nbsp; 237566.262512 after &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4 iter is B&amp;B base.
&lt;br&gt;&lt;br&gt;Feasible solution &amp;nbsp; &amp;nbsp; &amp;nbsp;237566.262512 after &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4 iter, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 nodes (gap 0.0%)
&lt;br&gt;&lt;br&gt;Optimal solution &amp;nbsp; &amp;nbsp; &amp;nbsp; 237566.262512 after &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4 iter, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 nodes (gap 0.0%).
&lt;br&gt;&lt;br&gt;Excellent numeric accuracy ||*|| = 8.64864e-13
&lt;br&gt;&lt;br&gt;&amp;nbsp;MEMO: lp_solve version 5.5.0.13 for 32 bit OS, with 64 bit REAL variables.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; In the total iteration count 4, 0 (0.0%) were bound flips.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; There were 0 refactorizations, 0 triggered by time and 0 by density.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;... on average 4.0 major pivots per refactorization.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The largest [LUSOL v2.2.1.0] fact(B) had 9 NZ entries, 1.0x largest basis.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The maximum B&amp;B level was 1, 0.5x MIP order, 1 at the optimal solution.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The constraint matrix inf-norm is 2053.11, with a dynamic range of 2053.11.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Time to load data was 0.006 seconds, presolve used 0.001 seconds,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;... 0.009 seconds in simplex solver, in total 0.016 seconds.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-----------------------------------------
&lt;br&gt;&lt;br&gt;&amp;nbsp;		 	 &amp;nbsp; 		 &amp;nbsp;
&lt;br&gt;_________________________________________________________________
&lt;br&gt;Chat with Messenger straight from your Hotmail inbox.
&lt;br&gt;&lt;a href=&quot;http://www.microsoft.com/windows/windowslive/hotmail_bl1/hotmail_bl1.aspx?ocid=PID23879::T:WLMTAGL:ON:WL:en-ww:WM_IMHM_4:092009&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.microsoft.com/windows/windowslive/hotmail_bl1/hotmail_bl1.aspx?ocid=PID23879::T:WLMTAGL:ON:WL:en-ww:WM_IMHM_4:092009&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/lp_solve55-error-about-alloc-tp26599161p26599161.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26516260</id>
	<title>Re: Multiple Runs</title>
	<published>2009-11-25T08:49:46Z</published>
	<updated>2009-11-25T08:49:46Z</updated>
	<author>
		<name>Peter Notebaert-2</name>
	</author>
	<content type="html">Normally not, but if the model has integer/binary/semi-cont/SOS variables then I would advise to do that.
&lt;br&gt;&lt;br&gt;Peter
&lt;br&gt;&lt;br&gt;&lt;br&gt;From: relic4112003 
&lt;br&gt;Sent: Wednesday, November 25, 2009 17:16
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516260&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt; 
&lt;br&gt;Subject: [lp_solve] Multiple Runs
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; 
&lt;br&gt;In my program I perform the following steps:
&lt;br&gt;&lt;br&gt;1 - Load LP from file
&lt;br&gt;2 - Solve LP
&lt;br&gt;3 - Over multiple iterations, I change the upper bounds on the variables for the LP.
&lt;br&gt;&lt;br&gt;Do I need to reset the LP or or do anything special to ensure that everything is being solved correctly?
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Multiple-Runs-tp26516187p26516260.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26516187</id>
	<title>Multiple Runs</title>
	<published>2009-11-25T08:16:42Z</published>
	<updated>2009-11-25T08:16:42Z</updated>
	<author>
		<name>Robert C. Green II</name>
	</author>
	<content type="html">In my program I perform the following steps:
&lt;br&gt;&lt;br&gt;1 - Load LP from file
&lt;br&gt;2 - Solve LP
&lt;br&gt;3 - Over multiple iterations, I change the upper bounds on the variables for the LP.
&lt;br&gt;&lt;br&gt;Do I need to reset the LP or or do anything special to ensure that everything is being solved correctly?
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Multiple-Runs-tp26516187p26516187.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26514307</id>
	<title>Fwd: Re: Error compiling on AIX 5.3 with xlc 9.0 for R 2.10.0</title>
	<published>2009-11-25T07:07:28Z</published>
	<updated>2009-11-25T07:07:28Z</updated>
	<author>
		<name>Kjell Konis-2</name>
	</author>
	<content type="html">For some reason this didn't seem to arrive the first time I sent it.
&lt;br&gt;&lt;br&gt;Begin forwarded message:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; From: Konis Kjell &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26514307&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;kjell.konis@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Date: 25 novembre 2009 15:25:52 HNEC
&lt;br&gt;&amp;gt; To: &amp;quot;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26514307&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt;&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26514307&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Subject: Re: [lp_solve] Re: Error compiling on AIX 5.3 with xlc 9.0 for R 2.10.0
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The underlying lp_solve used in the lpSolve R package is 5.5.0.7 (at least in the current CRAN package). &amp;nbsp;You can check with the command
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; .C(&amp;quot;lp_solve_version&amp;quot;, major = integer(1), minor = integer(1), release = integer(1), build = integer(1))
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; when the package is loaded.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; In case it might help: there is also the lpSolveAPI package (that I maintain) which mimics the lp_solve C API in R. It contains the current 5.5.0.15 version of lp_solve.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; Kjell
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 25 nov. 2009, at 14:59, Loris Bennett wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;Peter Notebaert&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26514307&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;_peno_@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Have you used the ccc.osx compilation script? And what version of
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; lp_solve are you talking about? You should use the latest 5.5.0.15
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; version.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Isn't ccc.osx for Mac OS X? I am running AIX, IBM's unix.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I am also not trying to compile lpSolve directly but rather the
&lt;br&gt;&amp;gt;&amp;gt; lpSolve package for R, which contains lpSolve.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I mentioned in my posting that the version of lpSolve packaged for R
&lt;br&gt;&amp;gt;&amp;gt; seems to be 5.1.0. Looking again I see that it is at least 5.2. On the
&lt;br&gt;&amp;gt;&amp;gt; CRAN site (&lt;a href=&quot;http://cran.r-project.org/web/packages/lpSolve/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cran.r-project.org/web/packages/lpSolve/index.html&lt;/a&gt;)
&lt;br&gt;&amp;gt;&amp;gt; the lpSolve version is given as 5.5, but I believe this to be incorrect.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I have had a look at version 5.5.0 of lpSolve and see that in lib_lp.h
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; #if !defined _WINDOWS &amp;&amp; !defined _WIN32 &amp;&amp; !defined WIN32
&lt;br&gt;&amp;gt;&amp;gt; # define _isnan(x) FALSE
&lt;br&gt;&amp;gt;&amp;gt; #endif
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; has changed to 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; #if defined _WIN32 &amp;&amp; !defined __GNUC__
&lt;br&gt;&amp;gt;&amp;gt; # define _isnan(x) FALSE
&lt;br&gt;&amp;gt;&amp;gt; #endif
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; This compiles fine on my AIX using the IBM compiler xlc.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Loris
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Peter
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; From: Loris Bennett
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Sent: Wednesday, November 25, 2009 09:15
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26514307&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Subject: [lp_solve] Error compiling on AIX 5.3 with xlc 9.0 for R 2.10.0
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I have been trying to install lpsolve on AIX 5.3 with xlc 9.0 for R
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 2.10.0. The version seems to be v5.1.0. The error I get is
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;quot;/usr/include/math.h&amp;quot;, line 1030.18: 1506-275 (S) Unexpected
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; text integer constant encountered.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; The problem seems to be in lp_lib.h:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; #if !defined _WINDOWS &amp;&amp; !defined _WIN32 &amp;&amp; !defined WIN32
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; # define _isnan(x) FALSE
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; #endif
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; The function _isnan() is declared in the system math.h, so if this gets
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; included after lp_lib.h the error will occur. Commenting the define out
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; allows the package to be compiled.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Is this redefinition of _isnan needed? Will I be OK if I just comment it
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; out?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Regards
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Loris Bennett
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Dr. Loris Bennett
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Computer Centre
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Freie Universität Berlin
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Berlin, Germany
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;&amp;gt; Dr. Loris Bennett
&lt;br&gt;&amp;gt;&amp;gt; Computer Centre
&lt;br&gt;&amp;gt;&amp;gt; Freie Universität Berlin
&lt;br&gt;&amp;gt;&amp;gt; Berlin, Germany
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------
&lt;br&gt;&lt;br&gt;Yahoo! Groups Links
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; To visit your group on the web, go to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://groups.yahoo.com/group/lp_solve/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.yahoo.com/group/lp_solve/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; Your email settings:
&lt;br&gt;&amp;nbsp; &amp;nbsp; Individual Email | Traditional
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; To change settings online go to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://groups.yahoo.com/group/lp_solve/join&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.yahoo.com/group/lp_solve/join&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; (Yahoo! ID required)
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; To change settings via email:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26514307&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve-digest@...&lt;/a&gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26514307&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve-fullfeatured@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; To unsubscribe from this group, send an email to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26514307&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; Your use of Yahoo! Groups is subject to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://docs.yahoo.com/info/terms/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://docs.yahoo.com/info/terms/&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-compiling-on-AIX-5.3-with-xlc-9.0-for-R-2.10.0-tp26509525p26514307.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26513704</id>
	<title>Re: Re: Error compiling on AIX 5.3 with xlc 9.0 for R 2.10.0</title>
	<published>2009-11-25T06:25:52Z</published>
	<updated>2009-11-25T06:25:52Z</updated>
	<author>
		<name>Kjell Konis-2</name>
	</author>
	<content type="html">The underlying lp_solve used in the lpSolve R package is 5.5.0.7 (at least in the current CRAN package). &amp;nbsp;You can check with the command
&lt;br&gt;&lt;br&gt;&amp;gt; .C(&amp;quot;lp_solve_version&amp;quot;, major = integer(1), minor = integer(1), release = integer(1), build = integer(1))
&lt;br&gt;&lt;br&gt;when the package is loaded.
&lt;br&gt;&lt;br&gt;In case it might help: there is also the lpSolveAPI package (that I maintain) which mimics the lp_solve C API in R. It contains the current 5.5.0.15 version of lp_solve.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Kjell
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 25 nov. 2009, at 14:59, Loris Bennett wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;quot;Peter Notebaert&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26513704&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;_peno_@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Have you used the ccc.osx compilation script? And what version of
&lt;br&gt;&amp;gt; &amp;gt; lp_solve are you talking about? You should use the latest 5.5.0.15
&lt;br&gt;&amp;gt; &amp;gt; version.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Isn't ccc.osx for Mac OS X? I am running AIX, IBM's unix.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am also not trying to compile lpSolve directly but rather the
&lt;br&gt;&amp;gt; lpSolve package for R, which contains lpSolve.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I mentioned in my posting that the version of lpSolve packaged for R
&lt;br&gt;&amp;gt; seems to be 5.1.0. Looking again I see that it is at least 5.2. On the
&lt;br&gt;&amp;gt; CRAN site (&lt;a href=&quot;http://cran.r-project.org/web/packages/lpSolve/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cran.r-project.org/web/packages/lpSolve/index.html&lt;/a&gt;)
&lt;br&gt;&amp;gt; the lpSolve version is given as 5.5, but I believe this to be incorrect.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have had a look at version 5.5.0 of lpSolve and see that in lib_lp.h
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; #if !defined _WINDOWS &amp;&amp; !defined _WIN32 &amp;&amp; !defined WIN32
&lt;br&gt;&amp;gt; # define _isnan(x) FALSE
&lt;br&gt;&amp;gt; #endif
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; has changed to 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; #if defined _WIN32 &amp;&amp; !defined __GNUC__
&lt;br&gt;&amp;gt; # define _isnan(x) FALSE
&lt;br&gt;&amp;gt; #endif
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This compiles fine on my AIX using the IBM compiler xlc.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Loris
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Peter
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; From: Loris Bennett
&lt;br&gt;&amp;gt; &amp;gt; Sent: Wednesday, November 25, 2009 09:15
&lt;br&gt;&amp;gt; &amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26513704&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; Subject: [lp_solve] Error compiling on AIX 5.3 with xlc 9.0 for R 2.10.0
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I have been trying to install lpsolve on AIX 5.3 with xlc 9.0 for R
&lt;br&gt;&amp;gt; &amp;gt; 2.10.0. The version seems to be v5.1.0. The error I get is
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;/usr/include/math.h&amp;quot;, line 1030.18: 1506-275 (S) Unexpected
&lt;br&gt;&amp;gt; &amp;gt; text integer constant encountered.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; The problem seems to be in lp_lib.h:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; #if !defined _WINDOWS &amp;&amp; !defined _WIN32 &amp;&amp; !defined WIN32
&lt;br&gt;&amp;gt; &amp;gt; # define _isnan(x) FALSE
&lt;br&gt;&amp;gt; &amp;gt; #endif
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; The function _isnan() is declared in the system math.h, so if this gets
&lt;br&gt;&amp;gt; &amp;gt; included after lp_lib.h the error will occur. Commenting the define out
&lt;br&gt;&amp;gt; &amp;gt; allows the package to be compiled.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Is this redefinition of _isnan needed? Will I be OK if I just comment it
&lt;br&gt;&amp;gt; &amp;gt; out?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Regards
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Loris Bennett
&lt;br&gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt; Dr. Loris Bennett
&lt;br&gt;&amp;gt; &amp;gt; Computer Centre
&lt;br&gt;&amp;gt; &amp;gt; Freie Universität Berlin
&lt;br&gt;&amp;gt; &amp;gt; Berlin, Germany
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;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; Dr. Loris Bennett
&lt;br&gt;&amp;gt; Computer Centre
&lt;br&gt;&amp;gt; Freie Universität Berlin
&lt;br&gt;&amp;gt; Berlin, Germany
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------
&lt;br&gt;&lt;br&gt;Yahoo! Groups Links
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; To visit your group on the web, go to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://groups.yahoo.com/group/lp_solve/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.yahoo.com/group/lp_solve/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; Your email settings:
&lt;br&gt;&amp;nbsp; &amp;nbsp; Individual Email | Traditional
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; To change settings online go to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://groups.yahoo.com/group/lp_solve/join&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.yahoo.com/group/lp_solve/join&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; (Yahoo! ID required)
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; To change settings via email:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26513704&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve-digest@...&lt;/a&gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26513704&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve-fullfeatured@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; To unsubscribe from this group, send an email to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26513704&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&amp;lt;*&amp;gt; Your use of Yahoo! Groups is subject to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://docs.yahoo.com/info/terms/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://docs.yahoo.com/info/terms/&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-compiling-on-AIX-5.3-with-xlc-9.0-for-R-2.10.0-tp26509525p26513704.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26513533</id>
	<title>Re: Re: Error compiling on AIX 5.3 with xlc 9.0 for R 2.10.0</title>
	<published>2009-11-25T06:24:26Z</published>
	<updated>2009-11-25T06:24:26Z</updated>
	<author>
		<name>Peter Notebaert-2</name>
	</author>
	<content type="html">Sorry, I ment ccc.aix
&lt;br&gt;&lt;br&gt;The lpsolve link to R is made by someone else not contributing his code the group...
&lt;br&gt;You should contact him.
&lt;br&gt;&lt;br&gt;Peter
&lt;br&gt;&lt;br&gt;&lt;br&gt;From: Loris Bennett 
&lt;br&gt;Sent: Wednesday, November 25, 2009 14:59
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26513533&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt; 
&lt;br&gt;Subject: [lp_solve] Re: Error compiling on AIX 5.3 with xlc 9.0 for R 2.10.0
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;quot;Peter Notebaert&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26513533&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;_peno_@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; Have you used the ccc.osx compilation script? And what version of
&lt;br&gt;&amp;gt; lp_solve are you talking about? You should use the latest 5.5.0.15
&lt;br&gt;&amp;gt; version.
&lt;br&gt;&lt;br&gt;Isn't ccc.osx for Mac OS X? I am running AIX, IBM's unix.
&lt;br&gt;&lt;br&gt;I am also not trying to compile lpSolve directly but rather the
&lt;br&gt;lpSolve package for R, which contains lpSolve.
&lt;br&gt;&lt;br&gt;I mentioned in my posting that the version of lpSolve packaged for R
&lt;br&gt;seems to be 5.1.0. Looking again I see that it is at least 5.2. On the
&lt;br&gt;CRAN site (&lt;a href=&quot;http://cran.r-project.org/web/packages/lpSolve/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cran.r-project.org/web/packages/lpSolve/index.html&lt;/a&gt;)
&lt;br&gt;the lpSolve version is given as 5.5, but I believe this to be incorrect.
&lt;br&gt;&lt;br&gt;I have had a look at version 5.5.0 of lpSolve and see that in lib_lp.h
&lt;br&gt;&lt;br&gt;#if !defined _WINDOWS &amp;&amp; !defined _WIN32 &amp;&amp; !defined WIN32
&lt;br&gt;# define _isnan(x) FALSE
&lt;br&gt;#endif
&lt;br&gt;&lt;br&gt;has changed to 
&lt;br&gt;&lt;br&gt;#if defined _WIN32 &amp;&amp; !defined __GNUC__
&lt;br&gt;# define _isnan(x) FALSE
&lt;br&gt;#endif
&lt;br&gt;&lt;br&gt;This compiles fine on my AIX using the IBM compiler xlc.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Loris
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Peter
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; From: Loris Bennett
&lt;br&gt;&amp;gt; Sent: Wednesday, November 25, 2009 09:15
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26513533&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: [lp_solve] Error compiling on AIX 5.3 with xlc 9.0 for R 2.10.0
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have been trying to install lpsolve on AIX 5.3 with xlc 9.0 for R
&lt;br&gt;&amp;gt; 2.10.0. The version seems to be v5.1.0. The error I get is
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;quot;/usr/include/math.h&amp;quot;, line 1030.18: 1506-275 (S) Unexpected
&lt;br&gt;&amp;gt; text integer constant encountered.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The problem seems to be in lp_lib.h:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; #if !defined _WINDOWS &amp;&amp; !defined _WIN32 &amp;&amp; !defined WIN32
&lt;br&gt;&amp;gt; # define _isnan(x) FALSE
&lt;br&gt;&amp;gt; #endif
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The function _isnan() is declared in the system math.h, so if this gets
&lt;br&gt;&amp;gt; included after lp_lib.h the error will occur. Commenting the define out
&lt;br&gt;&amp;gt; allows the package to be compiled.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is this redefinition of _isnan needed? Will I be OK if I just comment it
&lt;br&gt;&amp;gt; out?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Loris Bennett
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Dr. Loris Bennett
&lt;br&gt;&amp;gt; Computer Centre
&lt;br&gt;&amp;gt; Freie Universität Berlin
&lt;br&gt;&amp;gt; Berlin, Germany
&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; 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Dr. Loris Bennett
&lt;br&gt;Computer Centre
&lt;br&gt;Freie Universität Berlin
&lt;br&gt;Berlin, Germany
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-compiling-on-AIX-5.3-with-xlc-9.0-for-R-2.10.0-tp26509525p26513533.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26513096</id>
	<title>Re: Error compiling on AIX 5.3 with xlc 9.0 for R 2.10.0</title>
	<published>2009-11-25T05:59:11Z</published>
	<updated>2009-11-25T05:59:11Z</updated>
	<author>
		<name>Loris Bennett-2</name>
	</author>
	<content type="html">&amp;quot;Peter Notebaert&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26513096&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;_peno_@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; Have you used the ccc.osx compilation script? And what version of
&lt;br&gt;&amp;gt; lp_solve are you talking about? You should use the latest 5.5.0.15
&lt;br&gt;&amp;gt; version.
&lt;br&gt;&lt;br&gt;Isn't ccc.osx for Mac OS X? I am running AIX, IBM's unix.
&lt;br&gt;&lt;br&gt;I am also not trying to compile lpSolve directly but rather the
&lt;br&gt;lpSolve package for R, which contains lpSolve.
&lt;br&gt;&lt;br&gt;I mentioned in my posting that the version of lpSolve packaged for R
&lt;br&gt;seems to be 5.1.0. Looking again I see that it is at least 5.2. On the
&lt;br&gt;CRAN site (&lt;a href=&quot;http://cran.r-project.org/web/packages/lpSolve/index.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cran.r-project.org/web/packages/lpSolve/index.html&lt;/a&gt;)
&lt;br&gt;the lpSolve version is given as 5.5, but I believe this to be incorrect.
&lt;br&gt;&lt;br&gt;I have had a look at version 5.5.0 of lpSolve and see that in lib_lp.h
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;#if !defined _WINDOWS &amp;&amp; !defined _WIN32 &amp;&amp; !defined WIN32
&lt;br&gt;&amp;nbsp; &amp;nbsp;# define _isnan(x) FALSE
&lt;br&gt;&amp;nbsp; &amp;nbsp;#endif
&lt;br&gt;&lt;br&gt;has changed to 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; #if defined _WIN32 &amp;&amp; !defined __GNUC__
&lt;br&gt;&amp;nbsp; &amp;nbsp; # define _isnan(x) FALSE
&lt;br&gt;&amp;nbsp; &amp;nbsp; #endif
&lt;br&gt;&lt;br&gt;This compiles fine on my AIX using the IBM compiler xlc.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Loris
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Peter
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; From: Loris Bennett
&lt;br&gt;&amp;gt; Sent: Wednesday, November 25, 2009 09:15
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26513096&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: [lp_solve] Error compiling on AIX 5.3 with xlc 9.0 for R 2.10.0
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have been trying to install lpsolve on AIX 5.3 with xlc 9.0 for R
&lt;br&gt;&amp;gt; 2.10.0. The version seems to be v5.1.0. The error I get is
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;quot;/usr/include/math.h&amp;quot;, line 1030.18: 1506-275 (S) Unexpected
&lt;br&gt;&amp;gt; text integer constant encountered.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The problem seems to be in lp_lib.h:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; #if !defined _WINDOWS &amp;&amp; !defined _WIN32 &amp;&amp; !defined WIN32
&lt;br&gt;&amp;gt; # define _isnan(x) FALSE
&lt;br&gt;&amp;gt; #endif
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The function _isnan() is declared in the system math.h, so if this gets
&lt;br&gt;&amp;gt; included after lp_lib.h the error will occur. Commenting the define out
&lt;br&gt;&amp;gt; allows the package to be compiled.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is this redefinition of _isnan needed? Will I be OK if I just comment it
&lt;br&gt;&amp;gt; out?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Loris Bennett
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Dr. Loris Bennett
&lt;br&gt;&amp;gt; Computer Centre
&lt;br&gt;&amp;gt; Freie Universität Berlin
&lt;br&gt;&amp;gt; Berlin, Germany
&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; 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Dr. Loris Bennett
&lt;br&gt;Computer Centre
&lt;br&gt;Freie Universität Berlin
&lt;br&gt;Berlin, Germany
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-compiling-on-AIX-5.3-with-xlc-9.0-for-R-2.10.0-tp26509525p26513096.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26510864</id>
	<title>Re: LP_Solve not giving me the right answer?</title>
	<published>2009-11-25T03:02:13Z</published>
	<updated>2009-11-25T03:02:13Z</updated>
	<author>
		<name>nrclark1</name>
	</author>
	<content type="html">&lt;br&gt;That fixed it for me. Thanks for explaining it too - I was going crazy trying to figure out the reason. :)
&lt;br&gt;&lt;br&gt;&lt;br&gt;--- In &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26510864&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt;, &amp;quot;peter_notebaert&amp;quot; &amp;lt;_peno_@...&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That is a result of the peculiarities of the lp-format.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The 'constraints'
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; S2_1 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S2_0 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S3_0 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S4_1 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S4_0 &amp;lt;= 0;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Are really seen as bounds on variables. This because there is only one variable in it and there is no label before it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So the solver puts an upper bound on 0 on these variables. It does not make equations of these.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Ben then later on you specify the variables as bin.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; And bin means that they are integer AND an upper bound of 1.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So the previous upper bound of 0 is overruled by the upper bound of 1 by the bin statement.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; To solve this, put a label before your constraints to make sure they are interpreted as constraint and not as bound:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; r1: S2_1 &amp;lt;= 0;
&lt;br&gt;&amp;gt; r2: S2_0 &amp;lt;= 0;
&lt;br&gt;&amp;gt; r3: S3_0 &amp;lt;= 0;
&lt;br&gt;&amp;gt; r4: S4_1 &amp;lt;= 0;
&lt;br&gt;&amp;gt; r5: S4_0 &amp;lt;= 0;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Then you will have the soluution that you expect.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; You could have seen this also by using the lp_solve command line command to solve the model and write the model back to a file with the -wlp option:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; lp_solve model.lp -wlp model1.lp
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; You would have seen that model1.lp did not have your constraints anymore.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Peter
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --- In &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26510864&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt;, &amp;quot;nrclark1&amp;quot; &amp;lt;nicholas.clark@&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi all,
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Sorry if this double-posted! I'm a newbie to the world of LP, currently working on a task-scheduling problem. I made an LP_Solve model which expresses all of my constraints (I think!), but LP_Solve seems to ignore one or more of them.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; In my example below, S is a matrix representing the start times of each task (tasks are in rows, timesteps are columns). 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; My model parses OK, but the solution that LP_Solve presents directly violates the constraint that I set on line 17 (S4_0 &amp;lt;= 0). Did I make some kind of weird syntax mistake that I can't find? Your help would be greatly appreciated. :)
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; --------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; /* Minimization Goal */
&lt;br&gt;&amp;gt; &amp;gt; min: ;
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; /* Uniqueness Constraints */
&lt;br&gt;&amp;gt; &amp;gt; S1_0 + S1_1 + S1_2 + S1_3 + S1_4 + S1_5 + S1_6 + S1_7 + S1_8 + S1_9 = 1;
&lt;br&gt;&amp;gt; &amp;gt; S2_0 + S2_1 + S2_2 + S2_3 + S2_4 + S2_5 + S2_6 + S2_7 + S2_8 + S2_9 = 1;
&lt;br&gt;&amp;gt; &amp;gt; S3_0 + S3_1 + S3_2 + S3_3 + S3_4 + S3_5 + S3_6 + S3_7 + S3_8 + S3_9 = 1;
&lt;br&gt;&amp;gt; &amp;gt; S4_0 + S4_1 + S4_2 + S4_3 + S4_4 + S4_5 + S4_6 + S4_7 + S4_8 + S4_9 = 1;
&lt;br&gt;&amp;gt; &amp;gt; S5_0 + S5_1 + S5_2 + S5_3 + S5_4 + S5_5 + S5_6 + S5_7 + S5_8 + S5_9 = 1;
&lt;br&gt;&amp;gt; &amp;gt; S6_0 + S6_1 + S6_2 + S6_3 + S6_4 + S6_5 + S6_6 + S6_7 + S6_8 + S6_9 = 1;
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; S2_1 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S2_0 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S3_0 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S4_1 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S4_0 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; /* Dependency Constraints */
&lt;br&gt;&amp;gt; &amp;gt; S2_9 - S1_0 - S1_1 - S1_2 - S1_3 - S1_4 - S1_5 - S1_6 - S1_7 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S2_9 - S5_0 - S5_1 - S5_2 - S5_3 - S5_4 - S5_5 - S5_6 - S5_7 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S2_8 - S1_0 - S1_1 - S1_2 - S1_3 - S1_4 - S1_5 - S1_6 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S2_8 - S5_0 - S5_1 - S5_2 - S5_3 - S5_4 - S5_5 - S5_6 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S2_7 - S1_0 - S1_1 - S1_2 - S1_3 - S1_4 - S1_5 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S2_7 - S5_0 - S5_1 - S5_2 - S5_3 - S5_4 - S5_5 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S2_6 - S1_0 - S1_1 - S1_2 - S1_3 - S1_4 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S2_6 - S5_0 - S5_1 - S5_2 - S5_3 - S5_4 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S2_5 - S1_0 - S1_1 - S1_2 - S1_3 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S2_5 - S5_0 - S5_1 - S5_2 - S5_3 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S2_4 - S1_0 - S1_1 - S1_2 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S2_4 - S5_0 - S5_1 - S5_2 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S2_3 - S1_0 - S1_1 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S2_3 - S5_0 - S5_1 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S2_2 - S1_0 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S2_2 - S5_0 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; S3_9 - S2_0 - S2_1 - S2_2 - S2_3 - S2_4 - S2_5 - S2_6 - S2_7 - S2_8 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S3_8 - S2_0 - S2_1 - S2_2 - S2_3 - S2_4 - S2_5 - S2_6 - S2_7 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S3_7 - S2_0 - S2_1 - S2_2 - S2_3 - S2_4 - S2_5 - S2_6 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S3_6 - S2_0 - S2_1 - S2_2 - S2_3 - S2_4 - S2_5 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S3_5 - S2_0 - S2_1 - S2_2 - S2_3 - S2_4 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S3_4 - S2_0 - S2_1 - S2_2 - S2_3 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S3_3 - S2_0 - S2_1 - S2_2 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S3_2 - S2_0 - S2_1 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S3_1 - S2_0 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; S4_9 - S3_0 - S3_1 - S3_2 - S3_3 - S3_4 - S3_5 - S3_6 - S3_7 - S3_8 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S4_9 - S6_0 - S6_1 - S6_2 - S6_3 - S6_4 - S6_5 - S6_6 - S6_7 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S4_8 - S3_0 - S3_1 - S3_2 - S3_3 - S3_4 - S3_5 - S3_6 - S3_7 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S4_8 - S6_0 - S6_1 - S6_2 - S6_3 - S6_4 - S6_5 - S6_6 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S4_7 - S3_0 - S3_1 - S3_2 - S3_3 - S3_4 - S3_5 - S3_6 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S4_7 - S6_0 - S6_1 - S6_2 - S6_3 - S6_4 - S6_5 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S4_6 - S3_0 - S3_1 - S3_2 - S3_3 - S3_4 - S3_5 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S4_6 - S6_0 - S6_1 - S6_2 - S6_3 - S6_4 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S4_5 - S3_0 - S3_1 - S3_2 - S3_3 - S3_4 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S4_5 - S6_0 - S6_1 - S6_2 - S6_3 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S4_4 - S3_0 - S3_1 - S3_2 - S3_3 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S4_4 - S6_0 - S6_1 - S6_2 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S4_3 - S3_0 - S3_1 - S3_2 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S4_3 - S6_0 - S6_1 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S4_2 - S3_0 - S3_1 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S4_2 - S6_0 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; S4_1 - S3_0 &amp;lt;= 0;
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; /* Resource Constraints */
&lt;br&gt;&amp;gt; &amp;gt; S2_0 + S3_0 + S4_0 &amp;lt;= 1;
&lt;br&gt;&amp;gt; &amp;gt; S2_1 + S3_1 + S4_1 &amp;lt;= 1;
&lt;br&gt;&amp;gt; &amp;gt; S2_2 + S3_2 + S4_2 &amp;lt;= 1;
&lt;br&gt;&amp;gt; &amp;gt; S2_3 + S3_3 + S4_3 &amp;lt;= 1;
&lt;br&gt;&amp;gt; &amp;gt; S2_4 + S3_4 + S4_4 &amp;lt;= 1;
&lt;br&gt;&amp;gt; &amp;gt; S2_5 + S3_5 + S4_5 &amp;lt;= 1;
&lt;br&gt;&amp;gt; &amp;gt; S2_6 + S3_6 + S4_6 &amp;lt;= 1;
&lt;br&gt;&amp;gt; &amp;gt; S2_7 + S3_7 + S4_7 &amp;lt;= 1;
&lt;br&gt;&amp;gt; &amp;gt; S2_8 + S3_8 + S4_8 &amp;lt;= 1;
&lt;br&gt;&amp;gt; &amp;gt; S2_9 + S3_9 + S4_9 &amp;lt;= 1;
&lt;br&gt;&amp;gt; &amp;gt; S1_0 + S5_0 + S6_0 &amp;lt;= 2;
&lt;br&gt;&amp;gt; &amp;gt; S1_0 + S1_1 + S5_0 + S5_1 + S6_0 + S6_1 &amp;lt;= 2;
&lt;br&gt;&amp;gt; &amp;gt; S1_1 + S1_2 + S5_1 + S5_2 + S6_1 + S6_2 &amp;lt;= 2;
&lt;br&gt;&amp;gt; &amp;gt; S1_2 + S1_3 + S5_2 + S5_3 + S6_2 + S6_3 &amp;lt;= 2;
&lt;br&gt;&amp;gt; &amp;gt; S1_3 + S1_4 + S5_3 + S5_4 + S6_3 + S6_4 &amp;lt;= 2;
&lt;br&gt;&amp;gt; &amp;gt; S1_4 + S1_5 + S5_4 + S5_5 + S6_4 + S6_5 &amp;lt;= 2;
&lt;br&gt;&amp;gt; &amp;gt; S1_5 + S1_6 + S5_5 + S5_6 + S6_5 + S6_6 &amp;lt;= 2;
&lt;br&gt;&amp;gt; &amp;gt; S1_6 + S1_7 + S5_6 + S5_7 + S6_6 + S6_7 &amp;lt;= 2;
&lt;br&gt;&amp;gt; &amp;gt; S1_7 + S1_8 + S5_7 + S5_8 + S6_7 + S6_8 &amp;lt;= 2;
&lt;br&gt;&amp;gt; &amp;gt; S1_8 + S1_9 + S5_8 + S5_9 + S6_8 + S6_9 &amp;lt;= 2;
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; /* Variable Types */
&lt;br&gt;&amp;gt; &amp;gt; bin S1_0, S1_1, S1_2, S1_3, S1_4, S1_5, S1_6, S1_7, S1_8, S1_9;
&lt;br&gt;&amp;gt; &amp;gt; bin S2_0, S2_1, S2_2, S2_3, S2_4, S2_5, S2_6, S2_7, S2_8, S2_9;
&lt;br&gt;&amp;gt; &amp;gt; bin S3_0, S3_1, S3_2, S3_3, S3_4, S3_5, S3_6, S3_7, S3_8, S3_9;
&lt;br&gt;&amp;gt; &amp;gt; bin S4_0, S4_1, S4_2, S4_3, S4_4, S4_5, S4_6, S4_7, S4_8, S4_9;
&lt;br&gt;&amp;gt; &amp;gt; bin S5_0, S5_1, S5_2, S5_3, S5_4, S5_5, S5_6, S5_7, S5_8, S5_9;
&lt;br&gt;&amp;gt; &amp;gt; bin S6_0, S6_1, S6_2, S6_3, S6_4, S6_5, S6_6, S6_7, S6_8, S6_9;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/LP_Solve-not-giving-me-the-right-answer--tp26510655p26510864.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26510718</id>
	<title>Re: LP_Solve not giving me the right answer?</title>
	<published>2009-11-25T02:49:43Z</published>
	<updated>2009-11-25T02:49:43Z</updated>
	<author>
		<name>Peter Notebaert-2</name>
	</author>
	<content type="html">That is a result of the peculiarities of the lp-format.
&lt;br&gt;&lt;br&gt;The 'constraints'
&lt;br&gt;&lt;br&gt;S2_1 &amp;lt;= 0;
&lt;br&gt;S2_0 &amp;lt;= 0;
&lt;br&gt;S3_0 &amp;lt;= 0;
&lt;br&gt;S4_1 &amp;lt;= 0;
&lt;br&gt;S4_0 &amp;lt;= 0;
&lt;br&gt;&lt;br&gt;Are really seen as bounds on variables. This because there is only one variable in it and there is no label before it.
&lt;br&gt;&lt;br&gt;So the solver puts an upper bound on 0 on these variables. It does not make equations of these.
&lt;br&gt;&lt;br&gt;Ben then later on you specify the variables as bin.
&lt;br&gt;&lt;br&gt;And bin means that they are integer AND an upper bound of 1.
&lt;br&gt;&lt;br&gt;So the previous upper bound of 0 is overruled by the upper bound of 1 by the bin statement.
&lt;br&gt;&lt;br&gt;To solve this, put a label before your constraints to make sure they are interpreted as constraint and not as bound:
&lt;br&gt;&lt;br&gt;r1: S2_1 &amp;lt;= 0;
&lt;br&gt;r2: S2_0 &amp;lt;= 0;
&lt;br&gt;r3: S3_0 &amp;lt;= 0;
&lt;br&gt;r4: S4_1 &amp;lt;= 0;
&lt;br&gt;r5: S4_0 &amp;lt;= 0;
&lt;br&gt;&lt;br&gt;Then you will have the soluution that you expect.
&lt;br&gt;&lt;br&gt;You could have seen this also by using the lp_solve command line command to solve the model and write the model back to a file with the -wlp option:
&lt;br&gt;&lt;br&gt;lp_solve model.lp -wlp model1.lp
&lt;br&gt;&lt;br&gt;You would have seen that model1.lp did not have your constraints anymore.
&lt;br&gt;&lt;br&gt;Peter
&lt;br&gt;&lt;br&gt;--- In &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26510718&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt;, &amp;quot;nrclark1&amp;quot; &amp;lt;nicholas.clark@...&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Sorry if this double-posted! I'm a newbie to the world of LP, currently working on a task-scheduling problem. I made an LP_Solve model which expresses all of my constraints (I think!), but LP_Solve seems to ignore one or more of them.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; In my example below, S is a matrix representing the start times of each task (tasks are in rows, timesteps are columns). 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; My model parses OK, but the solution that LP_Solve presents directly violates the constraint that I set on line 17 (S4_0 &amp;lt;= 0). Did I make some kind of weird syntax mistake that I can't find? Your help would be greatly appreciated. :)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; /* Minimization Goal */
&lt;br&gt;&amp;gt; min: ;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; /* Uniqueness Constraints */
&lt;br&gt;&amp;gt; S1_0 + S1_1 + S1_2 + S1_3 + S1_4 + S1_5 + S1_6 + S1_7 + S1_8 + S1_9 = 1;
&lt;br&gt;&amp;gt; S2_0 + S2_1 + S2_2 + S2_3 + S2_4 + S2_5 + S2_6 + S2_7 + S2_8 + S2_9 = 1;
&lt;br&gt;&amp;gt; S3_0 + S3_1 + S3_2 + S3_3 + S3_4 + S3_5 + S3_6 + S3_7 + S3_8 + S3_9 = 1;
&lt;br&gt;&amp;gt; S4_0 + S4_1 + S4_2 + S4_3 + S4_4 + S4_5 + S4_6 + S4_7 + S4_8 + S4_9 = 1;
&lt;br&gt;&amp;gt; S5_0 + S5_1 + S5_2 + S5_3 + S5_4 + S5_5 + S5_6 + S5_7 + S5_8 + S5_9 = 1;
&lt;br&gt;&amp;gt; S6_0 + S6_1 + S6_2 + S6_3 + S6_4 + S6_5 + S6_6 + S6_7 + S6_8 + S6_9 = 1;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; S2_1 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S2_0 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S3_0 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S4_1 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S4_0 &amp;lt;= 0;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; /* Dependency Constraints */
&lt;br&gt;&amp;gt; S2_9 - S1_0 - S1_1 - S1_2 - S1_3 - S1_4 - S1_5 - S1_6 - S1_7 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S2_9 - S5_0 - S5_1 - S5_2 - S5_3 - S5_4 - S5_5 - S5_6 - S5_7 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S2_8 - S1_0 - S1_1 - S1_2 - S1_3 - S1_4 - S1_5 - S1_6 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S2_8 - S5_0 - S5_1 - S5_2 - S5_3 - S5_4 - S5_5 - S5_6 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S2_7 - S1_0 - S1_1 - S1_2 - S1_3 - S1_4 - S1_5 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S2_7 - S5_0 - S5_1 - S5_2 - S5_3 - S5_4 - S5_5 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S2_6 - S1_0 - S1_1 - S1_2 - S1_3 - S1_4 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S2_6 - S5_0 - S5_1 - S5_2 - S5_3 - S5_4 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S2_5 - S1_0 - S1_1 - S1_2 - S1_3 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S2_5 - S5_0 - S5_1 - S5_2 - S5_3 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S2_4 - S1_0 - S1_1 - S1_2 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S2_4 - S5_0 - S5_1 - S5_2 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S2_3 - S1_0 - S1_1 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S2_3 - S5_0 - S5_1 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S2_2 - S1_0 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S2_2 - S5_0 &amp;lt;= 0;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; S3_9 - S2_0 - S2_1 - S2_2 - S2_3 - S2_4 - S2_5 - S2_6 - S2_7 - S2_8 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S3_8 - S2_0 - S2_1 - S2_2 - S2_3 - S2_4 - S2_5 - S2_6 - S2_7 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S3_7 - S2_0 - S2_1 - S2_2 - S2_3 - S2_4 - S2_5 - S2_6 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S3_6 - S2_0 - S2_1 - S2_2 - S2_3 - S2_4 - S2_5 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S3_5 - S2_0 - S2_1 - S2_2 - S2_3 - S2_4 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S3_4 - S2_0 - S2_1 - S2_2 - S2_3 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S3_3 - S2_0 - S2_1 - S2_2 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S3_2 - S2_0 - S2_1 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S3_1 - S2_0 &amp;lt;= 0;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; S4_9 - S3_0 - S3_1 - S3_2 - S3_3 - S3_4 - S3_5 - S3_6 - S3_7 - S3_8 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S4_9 - S6_0 - S6_1 - S6_2 - S6_3 - S6_4 - S6_5 - S6_6 - S6_7 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S4_8 - S3_0 - S3_1 - S3_2 - S3_3 - S3_4 - S3_5 - S3_6 - S3_7 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S4_8 - S6_0 - S6_1 - S6_2 - S6_3 - S6_4 - S6_5 - S6_6 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S4_7 - S3_0 - S3_1 - S3_2 - S3_3 - S3_4 - S3_5 - S3_6 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S4_7 - S6_0 - S6_1 - S6_2 - S6_3 - S6_4 - S6_5 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S4_6 - S3_0 - S3_1 - S3_2 - S3_3 - S3_4 - S3_5 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S4_6 - S6_0 - S6_1 - S6_2 - S6_3 - S6_4 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S4_5 - S3_0 - S3_1 - S3_2 - S3_3 - S3_4 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S4_5 - S6_0 - S6_1 - S6_2 - S6_3 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S4_4 - S3_0 - S3_1 - S3_2 - S3_3 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S4_4 - S6_0 - S6_1 - S6_2 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S4_3 - S3_0 - S3_1 - S3_2 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S4_3 - S6_0 - S6_1 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S4_2 - S3_0 - S3_1 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S4_2 - S6_0 &amp;lt;= 0;
&lt;br&gt;&amp;gt; S4_1 - S3_0 &amp;lt;= 0;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; /* Resource Constraints */
&lt;br&gt;&amp;gt; S2_0 + S3_0 + S4_0 &amp;lt;= 1;
&lt;br&gt;&amp;gt; S2_1 + S3_1 + S4_1 &amp;lt;= 1;
&lt;br&gt;&amp;gt; S2_2 + S3_2 + S4_2 &amp;lt;= 1;
&lt;br&gt;&amp;gt; S2_3 + S3_3 + S4_3 &amp;lt;= 1;
&lt;br&gt;&amp;gt; S2_4 + S3_4 + S4_4 &amp;lt;= 1;
&lt;br&gt;&amp;gt; S2_5 + S3_5 + S4_5 &amp;lt;= 1;
&lt;br&gt;&amp;gt; S2_6 + S3_6 + S4_6 &amp;lt;= 1;
&lt;br&gt;&amp;gt; S2_7 + S3_7 + S4_7 &amp;lt;= 1;
&lt;br&gt;&amp;gt; S2_8 + S3_8 + S4_8 &amp;lt;= 1;
&lt;br&gt;&amp;gt; S2_9 + S3_9 + S4_9 &amp;lt;= 1;
&lt;br&gt;&amp;gt; S1_0 + S5_0 + S6_0 &amp;lt;= 2;
&lt;br&gt;&amp;gt; S1_0 + S1_1 + S5_0 + S5_1 + S6_0 + S6_1 &amp;lt;= 2;
&lt;br&gt;&amp;gt; S1_1 + S1_2 + S5_1 + S5_2 + S6_1 + S6_2 &amp;lt;= 2;
&lt;br&gt;&amp;gt; S1_2 + S1_3 + S5_2 + S5_3 + S6_2 + S6_3 &amp;lt;= 2;
&lt;br&gt;&amp;gt; S1_3 + S1_4 + S5_3 + S5_4 + S6_3 + S6_4 &amp;lt;= 2;
&lt;br&gt;&amp;gt; S1_4 + S1_5 + S5_4 + S5_5 + S6_4 + S6_5 &amp;lt;= 2;
&lt;br&gt;&amp;gt; S1_5 + S1_6 + S5_5 + S5_6 + S6_5 + S6_6 &amp;lt;= 2;
&lt;br&gt;&amp;gt; S1_6 + S1_7 + S5_6 + S5_7 + S6_6 + S6_7 &amp;lt;= 2;
&lt;br&gt;&amp;gt; S1_7 + S1_8 + S5_7 + S5_8 + S6_7 + S6_8 &amp;lt;= 2;
&lt;br&gt;&amp;gt; S1_8 + S1_9 + S5_8 + S5_9 + S6_8 + S6_9 &amp;lt;= 2;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; /* Variable Types */
&lt;br&gt;&amp;gt; bin S1_0, S1_1, S1_2, S1_3, S1_4, S1_5, S1_6, S1_7, S1_8, S1_9;
&lt;br&gt;&amp;gt; bin S2_0, S2_1, S2_2, S2_3, S2_4, S2_5, S2_6, S2_7, S2_8, S2_9;
&lt;br&gt;&amp;gt; bin S3_0, S3_1, S3_2, S3_3, S3_4, S3_5, S3_6, S3_7, S3_8, S3_9;
&lt;br&gt;&amp;gt; bin S4_0, S4_1, S4_2, S4_3, S4_4, S4_5, S4_6, S4_7, S4_8, S4_9;
&lt;br&gt;&amp;gt; bin S5_0, S5_1, S5_2, S5_3, S5_4, S5_5, S5_6, S5_7, S5_8, S5_9;
&lt;br&gt;&amp;gt; bin S6_0, S6_1, S6_2, S6_3, S6_4, S6_5, S6_6, S6_7, S6_8, S6_9;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/LP_Solve-not-giving-me-the-right-answer--tp26510655p26510718.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26510655</id>
	<title>LP_Solve not giving me the right answer?</title>
	<published>2009-11-25T02:32:04Z</published>
	<updated>2009-11-25T02:32:04Z</updated>
	<author>
		<name>nrclark1</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;Sorry if this double-posted! I'm a newbie to the world of LP, currently working on a task-scheduling problem. I made an LP_Solve model which expresses all of my constraints (I think!), but LP_Solve seems to ignore one or more of them.
&lt;br&gt;&lt;br&gt;In my example below, S is a matrix representing the start times of each task (tasks are in rows, timesteps are columns). 
&lt;br&gt;&lt;br&gt;My model parses OK, but the solution that LP_Solve presents directly violates the constraint that I set on line 17 (S4_0 &amp;lt;= 0). Did I make some kind of weird syntax mistake that I can't find? Your help would be greatly appreciated. :)
&lt;br&gt;&lt;br&gt;--------------------------------------------
&lt;br&gt;&lt;br&gt;/* Minimization Goal */
&lt;br&gt;min: ;
&lt;br&gt;&lt;br&gt;/* Uniqueness Constraints */
&lt;br&gt;S1_0 + S1_1 + S1_2 + S1_3 + S1_4 + S1_5 + S1_6 + S1_7 + S1_8 + S1_9 = 1;
&lt;br&gt;S2_0 + S2_1 + S2_2 + S2_3 + S2_4 + S2_5 + S2_6 + S2_7 + S2_8 + S2_9 = 1;
&lt;br&gt;S3_0 + S3_1 + S3_2 + S3_3 + S3_4 + S3_5 + S3_6 + S3_7 + S3_8 + S3_9 = 1;
&lt;br&gt;S4_0 + S4_1 + S4_2 + S4_3 + S4_4 + S4_5 + S4_6 + S4_7 + S4_8 + S4_9 = 1;
&lt;br&gt;S5_0 + S5_1 + S5_2 + S5_3 + S5_4 + S5_5 + S5_6 + S5_7 + S5_8 + S5_9 = 1;
&lt;br&gt;S6_0 + S6_1 + S6_2 + S6_3 + S6_4 + S6_5 + S6_6 + S6_7 + S6_8 + S6_9 = 1;
&lt;br&gt;&lt;br&gt;S2_1 &amp;lt;= 0;
&lt;br&gt;S2_0 &amp;lt;= 0;
&lt;br&gt;S3_0 &amp;lt;= 0;
&lt;br&gt;S4_1 &amp;lt;= 0;
&lt;br&gt;S4_0 &amp;lt;= 0;
&lt;br&gt;&lt;br&gt;&lt;br&gt;/* Dependency Constraints */
&lt;br&gt;S2_9 - S1_0 - S1_1 - S1_2 - S1_3 - S1_4 - S1_5 - S1_6 - S1_7 &amp;lt;= 0;
&lt;br&gt;S2_9 - S5_0 - S5_1 - S5_2 - S5_3 - S5_4 - S5_5 - S5_6 - S5_7 &amp;lt;= 0;
&lt;br&gt;S2_8 - S1_0 - S1_1 - S1_2 - S1_3 - S1_4 - S1_5 - S1_6 &amp;lt;= 0;
&lt;br&gt;S2_8 - S5_0 - S5_1 - S5_2 - S5_3 - S5_4 - S5_5 - S5_6 &amp;lt;= 0;
&lt;br&gt;S2_7 - S1_0 - S1_1 - S1_2 - S1_3 - S1_4 - S1_5 &amp;lt;= 0;
&lt;br&gt;S2_7 - S5_0 - S5_1 - S5_2 - S5_3 - S5_4 - S5_5 &amp;lt;= 0;
&lt;br&gt;S2_6 - S1_0 - S1_1 - S1_2 - S1_3 - S1_4 &amp;lt;= 0;
&lt;br&gt;S2_6 - S5_0 - S5_1 - S5_2 - S5_3 - S5_4 &amp;lt;= 0;
&lt;br&gt;S2_5 - S1_0 - S1_1 - S1_2 - S1_3 &amp;lt;= 0;
&lt;br&gt;S2_5 - S5_0 - S5_1 - S5_2 - S5_3 &amp;lt;= 0;
&lt;br&gt;S2_4 - S1_0 - S1_1 - S1_2 &amp;lt;= 0;
&lt;br&gt;S2_4 - S5_0 - S5_1 - S5_2 &amp;lt;= 0;
&lt;br&gt;S2_3 - S1_0 - S1_1 &amp;lt;= 0;
&lt;br&gt;S2_3 - S5_0 - S5_1 &amp;lt;= 0;
&lt;br&gt;S2_2 - S1_0 &amp;lt;= 0;
&lt;br&gt;S2_2 - S5_0 &amp;lt;= 0;
&lt;br&gt;&lt;br&gt;S3_9 - S2_0 - S2_1 - S2_2 - S2_3 - S2_4 - S2_5 - S2_6 - S2_7 - S2_8 &amp;lt;= 0;
&lt;br&gt;S3_8 - S2_0 - S2_1 - S2_2 - S2_3 - S2_4 - S2_5 - S2_6 - S2_7 &amp;lt;= 0;
&lt;br&gt;S3_7 - S2_0 - S2_1 - S2_2 - S2_3 - S2_4 - S2_5 - S2_6 &amp;lt;= 0;
&lt;br&gt;S3_6 - S2_0 - S2_1 - S2_2 - S2_3 - S2_4 - S2_5 &amp;lt;= 0;
&lt;br&gt;S3_5 - S2_0 - S2_1 - S2_2 - S2_3 - S2_4 &amp;lt;= 0;
&lt;br&gt;S3_4 - S2_0 - S2_1 - S2_2 - S2_3 &amp;lt;= 0;
&lt;br&gt;S3_3 - S2_0 - S2_1 - S2_2 &amp;lt;= 0;
&lt;br&gt;S3_2 - S2_0 - S2_1 &amp;lt;= 0;
&lt;br&gt;S3_1 - S2_0 &amp;lt;= 0;
&lt;br&gt;&lt;br&gt;S4_9 - S3_0 - S3_1 - S3_2 - S3_3 - S3_4 - S3_5 - S3_6 - S3_7 - S3_8 &amp;lt;= 0;
&lt;br&gt;S4_9 - S6_0 - S6_1 - S6_2 - S6_3 - S6_4 - S6_5 - S6_6 - S6_7 &amp;lt;= 0;
&lt;br&gt;S4_8 - S3_0 - S3_1 - S3_2 - S3_3 - S3_4 - S3_5 - S3_6 - S3_7 &amp;lt;= 0;
&lt;br&gt;S4_8 - S6_0 - S6_1 - S6_2 - S6_3 - S6_4 - S6_5 - S6_6 &amp;lt;= 0;
&lt;br&gt;S4_7 - S3_0 - S3_1 - S3_2 - S3_3 - S3_4 - S3_5 - S3_6 &amp;lt;= 0;
&lt;br&gt;S4_7 - S6_0 - S6_1 - S6_2 - S6_3 - S6_4 - S6_5 &amp;lt;= 0;
&lt;br&gt;S4_6 - S3_0 - S3_1 - S3_2 - S3_3 - S3_4 - S3_5 &amp;lt;= 0;
&lt;br&gt;S4_6 - S6_0 - S6_1 - S6_2 - S6_3 - S6_4 &amp;lt;= 0;
&lt;br&gt;S4_5 - S3_0 - S3_1 - S3_2 - S3_3 - S3_4 &amp;lt;= 0;
&lt;br&gt;S4_5 - S6_0 - S6_1 - S6_2 - S6_3 &amp;lt;= 0;
&lt;br&gt;S4_4 - S3_0 - S3_1 - S3_2 - S3_3 &amp;lt;= 0;
&lt;br&gt;S4_4 - S6_0 - S6_1 - S6_2 &amp;lt;= 0;
&lt;br&gt;S4_3 - S3_0 - S3_1 - S3_2 &amp;lt;= 0;
&lt;br&gt;S4_3 - S6_0 - S6_1 &amp;lt;= 0;
&lt;br&gt;S4_2 - S3_0 - S3_1 &amp;lt;= 0;
&lt;br&gt;S4_2 - S6_0 &amp;lt;= 0;
&lt;br&gt;S4_1 - S3_0 &amp;lt;= 0;
&lt;br&gt;&lt;br&gt;&lt;br&gt;/* Resource Constraints */
&lt;br&gt;S2_0 + S3_0 + S4_0 &amp;lt;= 1;
&lt;br&gt;S2_1 + S3_1 + S4_1 &amp;lt;= 1;
&lt;br&gt;S2_2 + S3_2 + S4_2 &amp;lt;= 1;
&lt;br&gt;S2_3 + S3_3 + S4_3 &amp;lt;= 1;
&lt;br&gt;S2_4 + S3_4 + S4_4 &amp;lt;= 1;
&lt;br&gt;S2_5 + S3_5 + S4_5 &amp;lt;= 1;
&lt;br&gt;S2_6 + S3_6 + S4_6 &amp;lt;= 1;
&lt;br&gt;S2_7 + S3_7 + S4_7 &amp;lt;= 1;
&lt;br&gt;S2_8 + S3_8 + S4_8 &amp;lt;= 1;
&lt;br&gt;S2_9 + S3_9 + S4_9 &amp;lt;= 1;
&lt;br&gt;S1_0 + S5_0 + S6_0 &amp;lt;= 2;
&lt;br&gt;S1_0 + S1_1 + S5_0 + S5_1 + S6_0 + S6_1 &amp;lt;= 2;
&lt;br&gt;S1_1 + S1_2 + S5_1 + S5_2 + S6_1 + S6_2 &amp;lt;= 2;
&lt;br&gt;S1_2 + S1_3 + S5_2 + S5_3 + S6_2 + S6_3 &amp;lt;= 2;
&lt;br&gt;S1_3 + S1_4 + S5_3 + S5_4 + S6_3 + S6_4 &amp;lt;= 2;
&lt;br&gt;S1_4 + S1_5 + S5_4 + S5_5 + S6_4 + S6_5 &amp;lt;= 2;
&lt;br&gt;S1_5 + S1_6 + S5_5 + S5_6 + S6_5 + S6_6 &amp;lt;= 2;
&lt;br&gt;S1_6 + S1_7 + S5_6 + S5_7 + S6_6 + S6_7 &amp;lt;= 2;
&lt;br&gt;S1_7 + S1_8 + S5_7 + S5_8 + S6_7 + S6_8 &amp;lt;= 2;
&lt;br&gt;S1_8 + S1_9 + S5_8 + S5_9 + S6_8 + S6_9 &amp;lt;= 2;
&lt;br&gt;&lt;br&gt;/* Variable Types */
&lt;br&gt;bin S1_0, S1_1, S1_2, S1_3, S1_4, S1_5, S1_6, S1_7, S1_8, S1_9;
&lt;br&gt;bin S2_0, S2_1, S2_2, S2_3, S2_4, S2_5, S2_6, S2_7, S2_8, S2_9;
&lt;br&gt;bin S3_0, S3_1, S3_2, S3_3, S3_4, S3_5, S3_6, S3_7, S3_8, S3_9;
&lt;br&gt;bin S4_0, S4_1, S4_2, S4_3, S4_4, S4_5, S4_6, S4_7, S4_8, S4_9;
&lt;br&gt;bin S5_0, S5_1, S5_2, S5_3, S5_4, S5_5, S5_6, S5_7, S5_8, S5_9;
&lt;br&gt;bin S6_0, S6_1, S6_2, S6_3, S6_4, S6_5, S6_6, S6_7, S6_8, S6_9;
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/LP_Solve-not-giving-me-the-right-answer--tp26510655p26510655.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26510284</id>
	<title>Re: Error compiling on AIX 5.3 with xlc 9.0 for R 2.10.0</title>
	<published>2009-11-25T02:13:28Z</published>
	<updated>2009-11-25T02:13:28Z</updated>
	<author>
		<name>Peter Notebaert-2</name>
	</author>
	<content type="html">Have you used the ccc.osx compilation script? And what version of lp_solve are you talking about? You should use the latest 5.5.0.15 version.
&lt;br&gt;&lt;br&gt;Peter
&lt;br&gt;&lt;br&gt;&lt;br&gt;From: Loris Bennett 
&lt;br&gt;Sent: Wednesday, November 25, 2009 09:15
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26510284&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt; 
&lt;br&gt;Subject: [lp_solve] Error compiling on AIX 5.3 with xlc 9.0 for R 2.10.0
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; 
&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;I have been trying to install lpsolve on AIX 5.3 with xlc 9.0 for R
&lt;br&gt;2.10.0. The version seems to be v5.1.0. The error I get is
&lt;br&gt;&lt;br&gt;&amp;quot;/usr/include/math.h&amp;quot;, line 1030.18: 1506-275 (S) Unexpected
&lt;br&gt;text integer constant encountered.
&lt;br&gt;&lt;br&gt;The problem seems to be in lp_lib.h:
&lt;br&gt;&lt;br&gt;#if !defined _WINDOWS &amp;&amp; !defined _WIN32 &amp;&amp; !defined WIN32
&lt;br&gt;# define _isnan(x) FALSE
&lt;br&gt;#endif
&lt;br&gt;&lt;br&gt;The function _isnan() is declared in the system math.h, so if this gets
&lt;br&gt;included after lp_lib.h the error will occur. Commenting the define out
&lt;br&gt;allows the package to be compiled.
&lt;br&gt;&lt;br&gt;Is this redefinition of _isnan needed? Will I be OK if I just comment it
&lt;br&gt;out?
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;&lt;br&gt;Loris Bennett
&lt;br&gt;-- 
&lt;br&gt;Dr. Loris Bennett
&lt;br&gt;Computer Centre
&lt;br&gt;Freie Universität Berlin
&lt;br&gt;Berlin, Germany
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-compiling-on-AIX-5.3-with-xlc-9.0-for-R-2.10.0-tp26509525p26510284.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26509525</id>
	<title>Error compiling on AIX 5.3 with xlc 9.0 for R 2.10.0</title>
	<published>2009-11-25T00:15:47Z</published>
	<updated>2009-11-25T00:15:47Z</updated>
	<author>
		<name>Loris Bennett-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I have been trying to install lpsolve on AIX 5.3 with xlc 9.0 for R
&lt;br&gt;2.10.0. The version seems to be v5.1.0. The error I get is
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;/usr/include/math.h&amp;quot;, line 1030.18: 1506-275 (S) Unexpected
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; text integer constant encountered.
&lt;br&gt;&lt;br&gt;The problem seems to be in lp_lib.h:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #if !defined _WINDOWS &amp;&amp; !defined _WIN32 &amp;&amp; !defined WIN32
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # define _isnan(x) FALSE
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #endif
&lt;br&gt;&lt;br&gt;The function _isnan() is declared in the system math.h, so if this gets
&lt;br&gt;included after lp_lib.h the error will occur. Commenting the define out
&lt;br&gt;allows the package to be compiled.
&lt;br&gt;&lt;br&gt;Is this redefinition of _isnan needed? Will I be OK if I just comment it
&lt;br&gt;out?
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;&lt;br&gt;Loris Bennett
&lt;br&gt;-- 
&lt;br&gt;Dr. Loris Bennett
&lt;br&gt;Computer Centre
&lt;br&gt;Freie Universität Berlin
&lt;br&gt;Berlin, Germany
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-compiling-on-AIX-5.3-with-xlc-9.0-for-R-2.10.0-tp26509525p26509525.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26495749</id>
	<title>Re: calling lp-solve using c in visual studio 2005</title>
	<published>2009-11-24T05:20:14Z</published>
	<updated>2009-11-24T05:20:14Z</updated>
	<author>
		<name>Peter Notebaert-2</name>
	</author>
	<content type="html">I hate it when people stay asking the same questions over and over again if there is a reference guide AND examples describing and showing all this.
&lt;br&gt;&lt;br&gt;Peter
&lt;br&gt;&lt;br&gt;--- In &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26495749&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lp_solve@...&lt;/a&gt;, &amp;quot;marwan_abb&amp;quot; &amp;lt;marwan_abb@...&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; how can i call lp-solve.exe using c in VS 2005, so i can send variables and get back results, what are the nesscary commands in c that i must write, and what are the libraries that i must add.
&lt;br&gt;&amp;gt; thanks a lot
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/calling-lp-solve-using-c-in-visual-studio-2005-tp26495703p26495749.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26495703</id>
	<title>calling lp-solve using c in visual studio 2005</title>
	<published>2009-11-24T05:00:36Z</published>
	<updated>2009-11-24T05:00:36Z</updated>
	<author>
		<name>Marwan Abbadi</name>
	</author>
	<content type="html">how can i call lp-solve.exe using c in VS 2005, so i can send variables and get back results, what are the nesscary commands in c that i must write, and what are the libraries that i must add.
&lt;br&gt;thanks a lot
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/calling-lp-solve-using-c-in-visual-studio-2005-tp26495703p26495703.html" />
</entry>

</feed>
