You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles Sadowski (Jira)" <ji...@apache.org> on 2020/07/19 15:37:00 UTC

[jira] [Comment Edited] (MATH-1549) Simplex solver report unbounded solution when solvable constraints scaling up

    [ https://issues.apache.org/jira/browse/MATH-1549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17160719#comment-17160719 ] 

Gilles Sadowski edited comment on MATH-1549 at 7/19/20, 3:36 PM:
-----------------------------------------------------------------

There is a [PR|https://github.com/apache/commons-math/pull/155] that fixes the issue but it misses Javadoc on some of the methods.
I stress again that I cannot interact/comment on GitHub in order to converge to a set of modifications that I feel confident to commit.



was (Author: erans):
There is a [PR|https://github.com/apache/commons-math/pull/155] that fixes the issue but it misses Javadoc on some of the methods.

 

> Simplex solver report unbounded solution when solvable constraints scaling up
> -----------------------------------------------------------------------------
>
>                 Key: MATH-1549
>                 URL: https://issues.apache.org/jira/browse/MATH-1549
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.6.1
>         Environment: macOS catalina
>            Reporter: Fan Zhang
>            Priority: Major
>         Attachments: CommonsMathSimplexSolverTest.java
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> *scenario 1:*
> {code:java}
> min: x + y
> x, y >= 0
> 9000x + y >= 0
> 10000x + y >= 2000
> x >= 2{code}
> *scenario 2:*
> {code:java}
> min: x + y
> x, y >= 0
> 9.0E15x + 1.0E12y >= 0
> 1.1e16x + 1.0e12y >= 2.0e15
> 1.0e12x >= 2e12{code}
> for scenario 1, it works out. but for scenario 2 whose constrains are just scaled up by 1e12, the solver reports unbounded solution.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)