commons-issues mailing list archives

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

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

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: [https://www.orekit.org/forge/projects/socis-2011/wiki/HowToBuildToAndroid],
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: https://issues.apache.org/jira/browse/MATH-794
>             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
A.
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message