Installation Problem on MacOS

65 views
Skip to first unread message

weihan zheng

unread,
Dec 26, 2016, 7:57:52 AM12/26/16
to OscaR
Hi I am attempting to integrate OscaRLib into a project.

I am attempting to run OscaRLib-LinProg and I followed the instructions in the README file in the zip as well as here:


However, when I try `run`, I get the following errors.

[error] (*:update) sbt.ResolveException: unresolved dependency: org.gnu.glpk#glpk-java;1.0.16: not found

[error] unresolved dependency: gurobi#gurobi;5.0.1: not found

[error] unresolved dependency: lpsolve#lpsolve;5.5.2: not found

[error] Total time: 31 s, completed 26 Dec, 2016 8:52:14 PM


I do not intend to use Gurobi, so its availability is not important to me.

In addition, I intend to use it in an existing project. Is there a pre-built version that I can just include in the `build.sbt` file?

Jules Ivanic

unread,
May 14, 2018, 11:55:56 AM5/14/18
to OscaR
Hi,

Did you succeed to solve this problem ? I'm also stuck with it. :/



Jules

Pierre Schaus

unread,
May 15, 2018, 3:10:59 AM5/15/18
to oscar...@googlegroups.com
Hi Jules,

Could you be a bit more specific.
Linprog is not supported any-more and was removed from the project.
Best regards,

Pierre


--

---
You received this message because you are subscribed to the Google Groups "OscaR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to oscar-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jules Ivanic

unread,
May 15, 2018, 4:05:40 AM5/15/18
to oscar...@googlegroups.com, Ekaterina Alekseeva
Hi Pierre,

"Linprog is not supported any-more and was removed from the project." is a very sad news for us because we were prototyping with it for a future product ! 

Can we know why you decided to stop the development of this beautiful software ?

Also, can you propose us (Scala) alternatives to Linprog, please ? 

Here's more details with my pb: I download the oscar-linprog (3.1.0) example project from your Dropbox and launch, for example, `sbt run` (I know very well sbt and Scala, I'm a Scala dev too 😉) and I have the following errors:

```

[error] unresolved dependency: gurobi#gurobi;5.0.1: not found
[error] unresolved dependency: lpsolve#lpsolve;5.5.2: not found

```

Impossible to find how to get these dependencies. 😕

Thanks,
Jules

--



         
Jules Ivanic
Directeur Technique

twitter
 06 86 93 98 99
twitter EuraTechnologies
165 avenue de Bretagne. 59000 Lille
www.colisweb.com  

Pierre Schaus

unread,
May 15, 2018, 5:52:53 AM5/15/18
to oscar...@googlegroups.com, Ekaterina Alekseeva
Hi Jules,

Here are the reasons:

- Our linprog package had very little added value over using gurobi or cplex api directly from Java (I personally was using gurobi API directly).
- We had to use the common functionalities between all the solvers (including lpsolve and glpk) and those two solvers are much less advanced than commercial ones.
- We prefer to focus on our own solvers (CP, CBLS, DEFO) rather than implementing « facades » to binary libraries. We prefer to be 100% JVM.
- We were not allowed to ship the gurobi.jar/cplex.jar dependency with OscaR and this caused installation issues.

There are alternatives. For instance google or-tools also propose some wrappers to linprog solvers with a Java API.

Best regards,

Pierre
Reply all
Reply to author
Forward
0 new messages