commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luc Maisonobe (JIRA)" <>
Subject [jira] [Commented] (MATH-794) LP on android devices
Date Wed, 30 May 2012 11:38:23 GMT


Luc Maisonobe commented on MATH-794:

Apache Commons Math should run on Android, as long as you package it as a dex file.
There is an exemple here: [],
based on another Java library (Orekit), which depends on Apache Commons Math.

Can you reproduce the error with a really simple (say less than 100 lines of code) standalone
application that could be run both on Android from the command line with dalvikvm (look at
the exemple in the wiki page above, in the "easy way" section) and on a desktop environment?
> LP on android devices
> ---------------------
>                 Key: MATH-794
>                 URL:
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.0
>         Environment: Android 2.2 JDK 1.6
>            Reporter: Sylvain Roussé
>              Labels: android
> When I express a Linear Programming problem in a Pure Java environment, I get a solution
> When I express thje same linear programming problem in a Java Android environment using
the same problem modelling classes, I get a solution A', which doesn't match the constraints
I express.
> For instance, If I have a set of Xi variables, with each Xi >= 0, I can get some Xj
< 0.
> Or if I have Xi >= a, then in the solution, I can have Xi < a.
> I noticed that for freechart library, they have made a special library for android (Jfreecharrtt
for pure javan Afreechart for Android).
> I have tried to compile the source with my android app, but the problem is the same.
> Is it necessary to have a library built up for android devices ?
> Is it possible to have commons-math for android ?
> In advance thanks.
> Regards.
> Sylvain.

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