coin-or / Cbc.old

This is a mirror of the subversion repository on COIN-OR
https://projects.coin-or.org/Cbc
Other
89 stars 30 forks source link

[Trac #119] CbcSolver::solve missing #85

Open s-c-e opened 5 years ago

s-c-e commented 5 years ago

image

The member function "solve" of CbcSolver? is missing, and so the "new style solver" example is not working.

falk@baltrum:/src/coin-Cbc/Cbc/examples% g++ driver4.cpp -I/home/falk/opt/cbc/include/coin/ -L/home/falk/opt/cbc/lib -lpthread -lCbcSolver -lCbc -lCgl -lClp -lCoinUtils -lOsiClp -lOsi -lz -lrt -lbz2                   

(works OK)

falk@baltrum:/src/coin-Cbc/Cbc/examples% g++ -DNEW_STYLE_SOLVER driver4.cpp -I/home/falk/opt/cbc/include/coin/ -L/home/falk/opt/cbc/lib -lpthread -lCbcSolver -lCbc -lCgl -lClp -lCoinUtils -lOsiClp -lOsi -lz -lrt -lbz2
/tmp/ccdkpNuT.o: In function `main':
driver4.cpp:(.text+0x484): undefined reference to `CbcSolver::solve(int, char const**, int)'
collect2: ld returned 1 exit status