COIN-OR::LEMON - Graph Library

Custom Query (511 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (154 - 156 of 511)

Ticket Resolution Summary Owner Reporter
#241 fixed Compilation failure when CPLEX is enabled Balazs Dezso Alpar Juttner
Description
...
g++ -DHAVE_CONFIG_H -I. -I. -g -O2 -MT lemon/lemon_libemon_la-cplex.lo -MD -MP -MF lemon/.deps/lemon_libemon_la-cplex.Tpo -c lemon/cplex.cc -o lemon/lemon_libemon_la-cplex.o
lemon/cplex.cc:826: error: no 'lemon::CplexMip* lemon::CplexMip::newSolver() const' member function declared in class 'lemon::CplexMip'
lemon/cplex.cc: In member function 'lemon::CplexMip* lemon::CplexMip::newSolver() const':
lemon/cplex.cc:826: error: cannot allocate an object of abstract type 'lemon::CplexMip'
./lemon/cplex.h:227: note:   because the following virtual functions are pure within 'lemon::CplexMip':
./lemon/lp_base.h:1972: note: 	virtual lemon::MipSolver* lemon::MipSolver::newSolver() const
./lemon/lp_base.h:1974: note: 	virtual lemon::MipSolver* lemon::MipSolver::cloneSolver() const
lemon/cplex.cc: At global scope:
lemon/cplex.cc:827: error: no 'lemon::CplexMip* lemon::CplexMip::cloneSolver() const' member function declared in class 'lemon::CplexMip'
lemon/cplex.cc: In member function 'lemon::CplexMip* lemon::CplexMip::cloneSolver() const':
lemon/cplex.cc:827: error: cannot allocate an object of abstract type 'lemon::CplexMip'
./lemon/cplex.h:227: note:   since type 'lemon::CplexMip' has pure virtual functions
#242 wontfix LP related warnings Balazs Dezso Alpar Juttner
Description

Chgset [20e3acc1a757] turns on warnings when compiling the core library. As a result a couple of warnings has appeared in the main branchs. The first group is related to GLPK:

libtool: compile:  g++ -DHAVE_CONFIG_H -I.. -I. -Wall -W -Wall -W -Wunused -Wformat=2 -Wctor-dtor-privacy -Wnon-virtual-dtor -Wno-char-subscripts -Wwrite-strings -Wno-char-subscripts -Wreturn-type -Wcast-qual -Wcast-align -Wsign-promo -Woverloaded-virtual -ansi -fno-strict-aliasing -Wold-style-cast -Wno-unknown-pragmas -I/home/alpar/download/soplex-1.4.1/src -I/home/alpar/download/coin-or/coin-Clp-1.8/include -g -O2 -MT lemon/lemon_libemon_la-soplex.lo -MD -MP -MF lemon/.deps/lemon_libemon_la-soplex.Tpo -c ../lemon/soplex.cc -o lemon/lemon_libemon_la-soplex.o
../lemon/glpk.cc: In constructor 'lemon::GlpkLp::GlpkLp()':
../lemon/glpk.cc:534: warning: base 'lemon::GlpkBase' will be initialized after
../lemon/glpk.cc:534: warning:   base 'lemon::LpSolver'
../lemon/glpk.cc:533: warning:   when initialized here
../lemon/glpk.cc: In copy constructor 'lemon::GlpkLp::GlpkLp(const lemon::GlpkLp&)':
../lemon/glpk.cc:539: warning: base 'lemon::GlpkBase' will be initialized after
../lemon/glpk.cc:539: warning:   base 'lemon::LpSolver'
../lemon/glpk.cc:538: warning:   when initialized here
../lemon/glpk.cc: In constructor 'lemon::GlpkMip::GlpkMip()':
../lemon/glpk.cc:833: warning: base 'lemon::GlpkBase' will be initialized after
../lemon/glpk.cc:833: warning:   base 'lemon::MipSolver'
../lemon/glpk.cc:832: warning:   when initialized here
../lemon/glpk.cc: In copy constructor 'lemon::GlpkMip::GlpkMip(const lemon::GlpkMip&)':
../lemon/glpk.cc:838: warning: base 'lemon::GlpkBase' will be initialized after
../lemon/glpk.cc:838: warning:   base 'lemon::MipSolver'
../lemon/glpk.cc:837: warning:   when initialized here

The second group is in CLP:

libtool: compile:  g++ -DHAVE_CONFIG_H -I.. -I. -Wall -W -Wall -W -Wunused -Wformat=2 -Wctor-dtor-privacy -Wnon-virtual-dtor -Wno-char-subscripts -Wwrite-strings -Wno-char-subscripts -Wreturn-type -Wcast-qual -Wcast-align -Wsign-promo -Woverloaded-virtual -ansi -fno-strict-aliasing -Wold-style-cast -Wno-unknown-pragmas -I/home/alpar/download/soplex-1.4.1/src -I/home/alpar/download/coin-or/coin-Clp-1.8/include -g -O2 -MT lemon/lemon_libemon_la-clp.lo -MD -MP -MF lemon/.deps/lemon_libemon_la-clp.Tpo -c ../lemon/clp.cc -o lemon/lemon_libemon_la-clp.o
mv -f lemon/.deps/lemon_libemon_la-soplex.Tpo lemon/.deps/lemon_libemon_la-soplex.Plo
In file included from /home/alpar/download/coin-or/coin-Clp-1.8/include/coin/ClpPackedMatrix.hpp:8,
                 from /home/alpar/download/coin-or/coin-Clp-1.8/include/coin/ClpModel.hpp:16,
                 from /home/alpar/download/coin-or/coin-Clp-1.8/include/coin/ClpSimplex.hpp:15,
                 from ../lemon/clp.cc:20:
/home/alpar/download/coin-or/coin-Clp-1.8/include/coin/ClpMatrixBase.hpp:101: warning: unused parameter 'model'
/home/alpar/download/coin-or/coin-Clp-1.8/include/coin/ClpMatrixBase.hpp:101: warning: unused parameter 'baseModel'
/home/alpar/download/coin-or/coin-Clp-1.8/include/coin/ClpMatrixBase.hpp:105: warning: unused parameter 'model'
/home/alpar/download/coin-or/coin-Clp-1.8/include/coin/ClpMatrixBase.hpp:113: warning: unused parameter 'model'
/home/alpar/download/coin-or/coin-Clp-1.8/include/coin/ClpMatrixBase.hpp:128: warning: unused parameter 'model'
/home/alpar/download/coin-or/coin-Clp-1.8/include/coin/ClpMatrixBase.hpp:128: warning: unused parameter 'smallest'
/home/alpar/download/coin-or/coin-Clp-1.8/include/coin/ClpMatrixBase.hpp:128: warning: unused parameter 'largest'
/home/alpar/download/coin-or/coin-Clp-1.8/include/coin/ClpMatrixBase.hpp:128: warning: unused parameter 'check'
/home/alpar/download/coin-or/coin-Clp-1.8/include/coin/ClpMatrixBase.hpp:157: warning: unused parameter 'model'
/home/alpar/download/coin-or/coin-Clp-1.8/include/coin/ClpMatrixBase.hpp:298: warning: unused parameter 'model'
/home/alpar/download/coin-or/coin-Clp-1.8/include/coin/ClpMatrixBase.hpp:298: warning: unused parameter 'pi'
In file included from /home/alpar/download/coin-or/coin-Clp-1.8/include/coin/ClpModel.hpp:17,
                 from /home/alpar/download/coin-or/coin-Clp-1.8/include/coin/ClpSimplex.hpp:15,
                 from ../lemon/clp.cc:20:
/home/alpar/download/coin-or/coin-Clp-1.8/include/coin/CoinMessageHandler.hpp: In member function 'void CoinOneMessage::setDetail(int)':
/home/alpar/download/coin-or/coin-Clp-1.8/include/coin/CoinMessageHandler.hpp:96: warning: use of old-style cast
In file included from /home/alpar/download/coin-or/coin-Clp-1.8/include/coin/ClpModel.hpp:18,
                 from /home/alpar/download/coin-or/coin-Clp-1.8/include/coin/ClpSimplex.hpp:15,
                 from ../lemon/clp.cc:20:
/home/alpar/download/coin-or/coin-Clp-1.8/include/coin/CoinHelperFunctions.hpp: In function 'char* CoinStrdup(const char*)':
/home/alpar/download/coin-or/coin-Clp-1.8/include/coin/CoinHelperFunctions.hpp:497: warning: use of old-style cast
/home/alpar/download/coin-or/coin-Clp-1.8/include/coin/CoinHelperFunctions.hpp: In function 'double CoinDrand48(bool, unsigned int)':
/home/alpar/download/coin-or/coin-Clp-1.8/include/coin/CoinHelperFunctions.hpp:732: warning: use of old-style cast
/home/alpar/download/coin-or/coin-Clp-1.8/include/coin/CoinHelperFunctions.hpp: In member function 'double CoinThreadRandom::randomDouble() const':
/home/alpar/download/coin-or/coin-Clp-1.8/include/coin/CoinHelperFunctions.hpp:923: warning: use of old-style cast
In file included from /home/alpar/download/coin-or/coin-Clp-1.8/include/coin/ClpModel.hpp:19,
                 from /home/alpar/download/coin-or/coin-Clp-1.8/include/coin/ClpSimplex.hpp:15,
                 from ../lemon/clp.cc:20:
/home/alpar/download/coin-or/coin-Clp-1.8/include/coin/ClpParameters.hpp: In function 'void ClpDisjointCopyN(const T*, int, T*)':
/home/alpar/download/coin-or/coin-Clp-1.8/include/coin/ClpParameters.hpp:82: warning: use of old-style cast

These latter ones should probably be fixed in the CLP source then be sent the CLP people in a patch.

#256 done Support all LP/MIP solvers in the CMAKE config Akos Ladanyi Alpar Juttner
Description

Up to now, only GLPK is supported.

Note: See TracQuery for help on using queries.