commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Rangarajan (JIRA)" <>
Subject [jira] [Commented] (MATH-819) SimplexSolver - InfeasibleSolution when feasible
Date Sun, 15 Jul 2012 12:24:36 GMT


Raghu Rangarajan commented on MATH-819:

Hi Thomas,

I will try to skip adding such constraints as much as possible. 

You mention that variables without any specified bounds may take values in the range [0, infinity].
Am I correct to assume that such variables could take values from -infinity to infinity if
I call the SimplexSolver.optimize method with restrictToNonNegative set to false? Sorry if
I am asking for clarification on something that is obvious. Thanks.

> SimplexSolver - InfeasibleSolution when feasible
> ------------------------------------------------
>                 Key: MATH-819
>                 URL:
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.1
>         Environment: Windows 7, JDK 1.7.0_03
>            Reporter: Raghu Rangarajan
>         Attachments:, lp-octave.txt, test.log, test.mod, test.out
> I am seeing an odd behavior with the latest code in the main trunk (Directory revision:
1358535). The solver throws "NoFeasibleSolutionException" for a problem which has a feasible
solution. Just by commenting out the last constraint, we get a feasible solution. And for
that solution, the constraint in question does not seem to be playing a role. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message