|
From: | Heinrich Schuchardt |
Subject: | Re: [Help-glpk] GLPK on Android |
Date: | Tue, 18 Nov 2014 20:07:10 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0 |
Hello Joey, thank you for your great app. I started a stub in the GLPK wikibook: https://en.wikibooks.org/wiki/GLPK/Android_app Maybe you want to add some more text and a screen shot.Please, add the text of the GPL v3 license to make it clear how your coding can be used.
I recognized that you created a wrapper with SWIG. But I could not find the SWIG file with which you generated my_wrap.c and glpk_android_wrap.c in the github repository. Why did you add both C-files? Which one is used?
In GLPK for Java (http://glpk-java.sf.net) I added some coding to catch errors which may occur while calling the native library. I suggest to add such error handling also to the app.
Is there something that should be changed in GLPK for Java to make it more suitable for building your Android app?
Allowing to use the GMPL language instead of the LP format in the app would be logical next step. In GLPK for Java you will find file examples/java/GmplSwing.java which could serve as a starting point.
Adding some example files and a GMPL cheatsheet would also be helpful. Best regards Heinrich Schuchardt On 16.11.2014 20:25, Joey Rios wrote:
Hi GLPKers, Just wanted to announce a new app and open source project I've put out there. I've gotten GLPK to compile and run within an Android app. I did this a few months ago and it just sort of languished on my local machine. I've cleaned it up and posted all the source to github and placed the app on the Google Play store. https://play.google.com/store/apps/details?id=com.littlepancake.glpk https://github.com/alotau/GLPKAndroid/tree/master I'd be happy if Android-inclined GLPK folks tried out either just the app or the app and the source code. Any feedback on the app or the source would be appreciated. Even if you just download the app (it's free) and click around, I'd appreciate a review on the Play store to increase the project's visibility. The app isn't too exciting, but it should demonstrate that GLPK is doing something. You can enter a model in Mathprog format and solve it. There isn't too much feedback from the app if there is a problem with the model, but there should be enough there for people who are familiar with Mathprog and GLPK. Anyway, that's it. Thanks, Joey
[Prev in Thread] | Current Thread | [Next in Thread] |