[SCIP] Makefile-compiling

Kaveh Azizian (Dr) kazizian at ntu.edu.sg
Tue Oct 4 09:13:49 CEST 2016


Dear SIr,
I have downloaded SCIP and I am trying to use it to solve a MILP. My model is generated in C++ as :
Minimize     c^T X
S.T.             A_ineq  X<b_ineq
                   A_eq    X=b_eq
                    l_b<=X<=U_b
X includes some binary, integer, and continuous variables. I construct all of my vectors and matrices using Armadillo library. I applied cplex concert technology and obtained good results. But unfortunately, I could not compile a sample problem using SCIP to understand how to apply SCIP for my model. I found the attached example on the internet which is very useful for me but I am in trouble compiling it because a simple makefile that I wrote cannot find the libraries and header files of SCIP. In fact, I found out every header file such as objscip.h includes several other headerfiles inside which make it complicated to a simple Makefile to find and call them. I also tried to modify the corresponding Makefile for vrp problem which is provided in the example folder but I failed. I would appreciate if you let me know how I can use SCIP to solve my model. Is there any specific makefile to compile and run similar models to mine in C++ ?
Regards,
Kaveh
________________________________
CONFIDENTIALITY: This email is intended solely for the person(s) named and may be confidential and/or privileged. If you are not the intended recipient, please delete it, notify us and do not copy, use, or disclose its contents.
Towards a sustainable earth: Print only when necessary. Thank you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diet.cc
Type: text/x-c++src
Size: 1371 bytes
Desc: diet.cc
URL: <http://listserv.zib.de/pipermail/scip/attachments/20161004/cd4da4d3/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: easyscip.h
Type: text/x-chdr
Size: 3853 bytes
Desc: easyscip.h
URL: <http://listserv.zib.de/pipermail/scip/attachments/20161004/cd4da4d3/attachment-0001.bin>


More information about the Scip mailing list