Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #14815

Re: PHP - Lpsolve

From Jerry Stuckle <jstucklex@attglobal.net>
Newsgroups comp.lang.php
Subject Re: PHP - Lpsolve
Date 2015-01-07 11:48 -0500
Organization A noiseless patient Spider
Message-ID <m8jnvc$5ee$1@dont-email.me> (permalink)
References <c5586b0d-e82c-4823-b89e-db884bb4aca3@googlegroups.com>

Show all headers | View raw


On 1/7/2015 10:54 AM, mike@fozzil.net wrote:
> Hi There,
> 
> I am running into a roadblock and looking for advice/help on how to solve this.
> 
> I would like to use the Linear Problem Solver, lpsolve via PHP.  I've installed lpsolve on my CentOS sever, compiled the phplpsolve55.so library and linked to it in the php.ini file.  All is good from that side, the examples work as expected, etc...
> 
> Now, I have created a simple (solvable) problem via the lpsolve IDE that I would like to duplicate via PHP, but I don't understand the math components well enough to make this work.
> 
> 
> Here's the problem as it looks in the LPSolve IDE
> /* Maximum score */
> max: 24 x1 + 5 x2;
> 
> /* Limits on players */
> 1 <= x1 + x2<=1;
> 
> /* Total cost constraint */
> totalCost:6000 x1 + 7000 x2<=10000;
> 
> I don't understand the fundamental math terms used to make this work with the API referenced here? http://lpsolve.sourceforge.net/5.5/lp_solveAPIreference.htm
> 
> Here's the info on PHP Lpsolve 
> http://lpsolve.sourceforge.net/5.5/PHP.htm
> 
> Has anyone done this before, could you help me get this duplicated in PHP?  I searched a lot of Google groups and I don't know if this is the best place to post this or not, if you have a better suggestion, please let me know also.
> 
> Thank you!
> 

Actually, this is probably not the best place to post questions like
this.  I doubt anyone on this newsgroup has ever used lpsolve (it's only
been downloaded 491 times).

When you're dealing with a package, the best place to get help is in the
support structure for the package.  Unfortunately, the support page for
the package just points back to the main Sourceforge page, and there
haven't been any updates in over 4 years, so I suspect it's a dead
package.  That's probably why you haven't found any help for it.

However, you might try writing one of the admins of the project to see
if they can answer your questions.

Other than that, I don't know how you can get help for it.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

PHP - Lpsolve mike@fozzil.net - 2015-01-07 07:54 -0800
  Re: PHP - Lpsolve Jerry Stuckle <jstucklex@attglobal.net> - 2015-01-07 11:48 -0500
    Re: PHP - Lpsolve "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-01-07 18:27 +0100
      Re: PHP - Lpsolve Jerry Stuckle <jstucklex@attglobal.net> - 2015-01-07 15:24 -0500
      Re: PHP - Lpsolve mike@fozzil.net - 2015-01-09 17:23 -0800

csiph-web