[SCIP] Using SCIP with CPLEX as LP solver with AMPL

Stefan Vigerske stefan at math.hu-berlin.de
Thu Oct 12 10:53:14 CEST 2017


Hi,

something might have went wrong when you "configured the SCIP with 
CPLEX". Did building SCIP with LPS=cpx work?
/mnt/scipoptsuite-4.0.1/scip/lib/static should have a symlink 
libcplex.linux.x86_64.gnu that points to your CPLEX library, as you 
specified when building SCIP.

Stefan

On 10/12/2017 08:30 AM, Arash Kaviani Arani wrote:
> Hi Everybody,
> 
> I am trying to use Using SCIP with CPLEX as LP solver with AMPL. I have
> successfully configured the SCIP with CPLEX.  However, when I am trying to
> build its AMPL interface I get the following error when running following
> command:
> 
> ubuntu at tt:/mnt/scipoptsuite-4.0.1/scip/interfaces/ampl$ make LPS=cpx
> -> linking bin/scipampl.linux.x86_64.gnu.opt.cpx
> /usr/bin/ld: cannot find -lcplex.linux.x86_64.gnu
> collect2: error: ld returned 1 exit status
> Makefile:125: recipe for target 'bin/scipampl.linux.x86_64.gnu.opt.cpx'
> failed
> make: *** [bin/scipampl.linux.x86_64.gnu.opt.cpx] Error 1
> 
> Is there any way that I can turn over this step and build the
> scipampl successfully?
> 
> Best wishes,
> Arash
> 
> 
> 
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> https://listserv.zib.de/mailman/listinfo/scip
> 


-- 
http://www.gams.com/~stefan


More information about the Scip mailing list