[Cmpl] CMPL & Java

Mike Steglich mike.steglich at th-wildau.de
Tue May 21 02:04:39 EDT 2019


Hello Omidi,

You have to set the environment variable CMPLBINARY on your own before you run your own code. It is the full path of the cmpl binary.

Cheers,

Mike

> Am 21.05.2019 um 07:53 schrieb abbas omidi <abb.omidi at gmail.com>:
> 
> Hello support team,
> I'm trying to run the "diet" problem using Java API. First, I'm using win-10 and Eclipse IDE. I added the related libraries as follows:
> ***************************************************************************************
> "Cmpl/jCmpl/jCmpl.jar and again all of the jar files in Cmpl/jCmpl/lib"
> ***************************************************************************************  
> Then, I added the "-Djava.library.path=D:\Software\Coin-or CMPL\Cmpl\bin" in the windows environment path and in the Java Project VM. While I'm running the model, I have some errors such as:
> ***************************************************************************************  
> 1) jCmpl error: Environment variable CMPLBINARY ist not defined. Cannot run Cmpl binary.
> Or
> 2) Error: Could not find or load main class CMPL\Cmpl\bin.
> ***************************************************************************************  
> Please, let me know how can I fix it?
> 
> Regards
> Omidi
> _______________________________________________
> Cmpl mailing list
> Cmpl at list.coin-or.org
> https://list.coin-or.org/mailman/listinfo/cmpl




More information about the Cmpl mailing list