Reputation: 897
I have a problem running scip with cplex! when I run "make LPS=cpx ZIMPL=false", I got the following error:
make LPS=cpx ZIMPL=false
make: * No rule to make target ~/scipoptsuite-3.0.2/scip-3.0.2/lib/liblpicpx.linux.x86_64.gnu.opt.a', needed by
bin/vrp.linux.x86_64.gnu.opt.cpx'. Stop.
Can someone please help me?
Upvotes: 1
Views: 726
Reputation: 1375
it seems that you try to compile the VRP-example of SCIP before ever compiling the main SCIP. You need to first compile the main SCIP, i.e., go to the main SCIP-directory and run your
make-command. This will create the necessary library liblpicpx.linux.x86_64.gnu.opt.a
, which the example depends on.
Note that the make
-command automatically asks you for the include and library paths. If not, you can force this behaviour by calling
make LPS=cpx ZIMPL=false links
More Makefile options are explained in the documentation.
Upvotes: 0
Reputation: 706
It seems that you are trying to build the VRP example of SCIP. Before you can do this, you need to build SCIP itself with the exact same options, in particular also with CPLEX as LP solver. You can even do this from the VRP example directory by using the Makefile target 'scip', i.e., make LPS=cpx ZIMPL=false scip.
Upvotes: 2