Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5685897C9 for ; Sun, 22 Jul 2012 01:49:35 +0000 (UTC) Received: (qmail 40459 invoked by uid 500); 22 Jul 2012 01:49:35 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 40286 invoked by uid 500); 22 Jul 2012 01:49:35 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 40178 invoked by uid 99); 22 Jul 2012 01:49:34 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Jul 2012 01:49:34 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 9C0EF14285A for ; Sun, 22 Jul 2012 01:49:34 +0000 (UTC) Date: Sun, 22 Jul 2012 01:49:34 +0000 (UTC) From: "Gilles (JIRA)" To: issues@commons.apache.org Message-ID: <7711453.87351.1342921774641.JavaMail.jiratomcat@issues-vm> In-Reply-To: <375400049.75910.1342710455545.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (MATH-828) Not expected UnboundedSolutionException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MATH-828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gilles updated MATH-828: ------------------------ Fix Version/s: (was: 3.0) 3.1 > Not expected UnboundedSolutionException > --------------------------------------- > > Key: MATH-828 > URL: https://issues.apache.org/jira/browse/MATH-828 > Project: Commons Math > Issue Type: Bug > Affects Versions: 3.0 > Environment: Intel Core i5-2300 Windows XP SP3 > Reporter: Alexey Slepov > Labels: linear, math, programming > Fix For: 3.1 > > Attachments: ApacheSimplexWrapper.java, ApacheSimplexWrapperTest.java, Entity.java, commons-math3-3.0.jar > > > SimplexSolver throws UnboundedSolutionException when trying to solve minimization linear programming problem. The number of exception thrown depends on the number of variables. > In order to see that behavior of SimplexSolver first try to run JUnit test setting a final variable ENTITIES_COUNT = 2 and that will give almost good result and then set it to 15 and you'll get a massive of unbounded exceptions. > First iteration is runned with predefined set of input data with which the Solver gives back an appropriate result. > The problem itself is well tested by it's authors (mathematicians who I believe know what they developed) using Matlab 10 with no unbounded solutions on the same rules of creatnig random variables values. > What is strange to me is the dependence of the number of UnboundedSolutionException exceptions on the number of variables in the problem. > The problem is formulated as > min(1*t + 0*L) (for every r-th subject) > s.t. > -q(r) + QL >= 0 > x(r)t - XL >= 0 > L >= 0 > where > r = 1..R, > L = {l(1), l(2), ..., l(R)} (vector of R rows and 1 column), > Q - coefficients matrix MxR > X - coefficients matrix NxR -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira