[Symphony-tickets] [SYMPHONY] #107: make fail
SYMPHONY
coin-trac at coin-or.org
Sat Sep 4 22:40:20 EDT 2010
#107: make fail
--------------------------------------------------+-------------------------
Reporter: chochem | Owner: tkr
Type: defect | Status: new
Priority: major | Milestone:
Component: Not Sure | Version: 5.2.4
Keywords: OsiCpxSolverInterface CglGomory.hpp |
--------------------------------------------------+-------------------------
Hi, I downloaded Symphony 5.2.4 through the svn with:
{{{
svn checkout https://projects.coin-or.org/svn/SYMPHONY/releases/5.2.4
SYMPHONY-5.2.4
}}}
Then I installed GLPK doing:
{{{
cd SYMPHONY-5.2.4/ThirdParty/Glpk
./get.Glpk
}}}
and I configure so it is used by default with cplex like this:
{{{
./configure --with-cplex-
lib="-L/usr/local/pkgs/ilog12.1/cplex121/lib/x86-64_debian4.0_4.1/static_pic/
-lcplex -lpthread" --with-cplex-
incdir="/usr/local/pkgs/ilog12.1/cplex121/include/ilcplex/" --with-lp-
solver=cplex --enable-gnu-packages --prefix=/home/2010/vreinh/Symphony/
}}}
Until now, there is no error, but when I do
{{{
make
}}}
it gives me the list of following errors.
{{{
LP/lp_solver.c: In function 'void open_lp_solver(LPdata*)':
LP/lp_solver.c:2317: error: 'class OsiCpxSolverInterface' has no member
named 'setupForRepeatedUse'
LP/lp_solver.c: In function 'void load_basis(LPdata*, int*, int*)':
LP/lp_solver.c:2388: error: invalid use of incomplete type 'struct
CoinWarmStartBasis'
/home/2010/vreinh/SYMPHONY-5.2.4/Cgl/src/CglGomory/CglGomory.hpp:10:
error: forward declaration of 'struct CoinWarmStartBasis'
LP/lp_solver.c:2394: error: invalid use of incomplete type 'struct
CoinWarmStartBasis'
/home/2010/vreinh/SYMPHONY-5.2.4/Cgl/src/CglGomory/CglGomory.hpp:10:
error: forward declaration of 'struct CoinWarmStartBasis'
LP/lp_solver.c:2399: error: invalid use of incomplete type 'struct
CoinWarmStartBasis'
/home/2010/vreinh/SYMPHONY-5.2.4/Cgl/src/CglGomory/CglGomory.hpp:10:
error: forward declaration of 'struct CoinWarmStartBasis'
LP/lp_solver.c:2399: error: incomplete type 'CoinWarmStartBasis' used in
nested name specifier
LP/lp_solver.c:2402: error: invalid use of incomplete type 'struct
CoinWarmStartBasis'
/home/2010/vreinh/SYMPHONY-5.2.4/Cgl/src/CglGomory/CglGomory.hpp:10:
error: forward declaration of 'struct CoinWarmStartBasis'
LP/lp_solver.c:2402: error: incomplete type 'CoinWarmStartBasis' used in
nested name specifier
LP/lp_solver.c:2405: error: invalid use of incomplete type 'struct
CoinWarmStartBasis'
/home/2010/vreinh/SYMPHONY-5.2.4/Cgl/src/CglGomory/CglGomory.hpp:10:
error: forward declaration of 'struct CoinWarmStartBasis'
LP/lp_solver.c:2405: error: incomplete type 'CoinWarmStartBasis' used in
nested name specifier
LP/lp_solver.c:2408: error: invalid use of incomplete type 'struct
CoinWarmStartBasis'
/home/2010/vreinh/SYMPHONY-5.2.4/Cgl/src/CglGomory/CglGomory.hpp:10:
error: forward declaration of 'struct CoinWarmStartBasis'
LP/lp_solver.c:2408: error: incomplete type 'CoinWarmStartBasis' used in
nested name specifier
LP/lp_solver.c:2418: error: invalid use of incomplete type 'struct
CoinWarmStartBasis'
/home/2010/vreinh/SYMPHONY-5.2.4/Cgl/src/CglGomory/CglGomory.hpp:10:
error: forward declaration of 'struct CoinWarmStartBasis'
LP/lp_solver.c:2418: error: incomplete type 'CoinWarmStartBasis' used in
nested name specifier
LP/lp_solver.c:2421: error: invalid use of incomplete type 'struct
CoinWarmStartBasis'
/home/2010/vreinh/SYMPHONY-5.2.4/Cgl/src/CglGomory/CglGomory.hpp:10:
error: forward declaration of 'struct CoinWarmStartBasis'
LP/lp_solver.c:2421: error: incomplete type 'CoinWarmStartBasis' used in
nested name specifier
LP/lp_solver.c:2424: error: invalid use of incomplete type 'struct
CoinWarmStartBasis'
/home/2010/vreinh/SYMPHONY-5.2.4/Cgl/src/CglGomory/CglGomory.hpp:10:
error: forward declaration of 'struct CoinWarmStartBasis'
LP/lp_solver.c:2424: error: incomplete type 'CoinWarmStartBasis' used in
nested name specifier
LP/lp_solver.c:2427: error: invalid use of incomplete type 'struct
CoinWarmStartBasis'
/home/2010/vreinh/SYMPHONY-5.2.4/Cgl/src/CglGomory/CglGomory.hpp:10:
error: forward declaration of 'struct CoinWarmStartBasis'
LP/lp_solver.c:2427: error: incomplete type 'CoinWarmStartBasis' used in
nested name specifier
LP/lp_solver.c:2434: error: no matching function for call to
'OsiCpxSolverInterface::setWarmStart(CoinWarmStartBasis*&)'
/home/2010/vreinh/SYMPHONY-5.2.4/Osi/src/OsiCpx/OsiCpxSolverInterface.hpp:109:
note: candidates are: virtual bool
OsiCpxSolverInterface::setWarmStart(const C
oinWarmStart*)
LP/lp_solver.c:2436: warning: possible problem detected in invocation of
delete operator:
LP/lp_solver.c:2388: warning: 'warmstart' has incomplete type
/home/2010/vreinh/SYMPHONY-5.2.4/Cgl/src/CglGomory/CglGomory.hpp:10:
warning: forward declaration of 'struct CoinWarmStartBasis'
LP/lp_solver.c:2436: note: neither the destructor nor the class-specific
operator delete will be called, even if they are declared when the class
is defined.
LP/lp_solver.c: In function 'void get_basis(LPdata*, int*, int*)':
LP/lp_solver.c:2710: error: cannot dynamic_cast 'warmstart' (of type
'struct CoinWarmStart*') to type 'struct CoinWarmStartBasis*' (target is
not pointer or reference to complete type)
LP/lp_solver.c:2712: error: invalid use of incomplete type 'struct
CoinWarmStartBasis'
/home/2010/vreinh/SYMPHONY-5.2.4/Cgl/src/CglGomory/CglGomory.hpp:10:
error: forward declaration of 'struct CoinWarmStartBasis'
LP/lp_solver.c:2713: error: invalid use of incomplete type 'struct
CoinWarmStartBasis'
/home/2010/vreinh/SYMPHONY-5.2.4/Cgl/src/CglGomory/CglGomory.hpp:10:
error: forward declaration of 'struct CoinWarmStartBasis'
LP/lp_solver.c:2718: error: invalid use of incomplete type 'struct
CoinWarmStartBasis'
/home/2010/vreinh/SYMPHONY-5.2.4/Cgl/src/CglGomory/CglGomory.hpp:10:
error: forward declaration of 'struct CoinWarmStartBasis'
LP/lp_solver.c:2719: error: incomplete type 'CoinWarmStartBasis' used in
nested name specifier
LP/lp_solver.c:2722: error: incomplete type 'CoinWarmStartBasis' used in
nested name specifier
LP/lp_solver.c:2725: error: incomplete type 'CoinWarmStartBasis' used in
nested name specifier
LP/lp_solver.c:2728: error: incomplete type 'CoinWarmStartBasis' used in
nested name specifier
LP/lp_solver.c:2739: error: invalid use of incomplete type 'struct
CoinWarmStartBasis'
/home/2010/vreinh/SYMPHONY-5.2.4/Cgl/src/CglGomory/CglGomory.hpp:10:
error: forward declaration of 'struct CoinWarmStartBasis'
LP/lp_solver.c:2740: error: incomplete type 'CoinWarmStartBasis' used in
nested name specifier
LP/lp_solver.c:2743: error: incomplete type 'CoinWarmStartBasis' used in
nested name specifier
LP/lp_solver.c:2746: error: incomplete type 'CoinWarmStartBasis' used in
nested name specifier
LP/lp_solver.c:2749: error: incomplete type 'CoinWarmStartBasis' used in
nested name specifier
LP/lp_solver.c:2758: warning: possible problem detected in invocation of
delete operator:
LP/lp_solver.c:2710: warning: 'ws' has incomplete type
/home/2010/vreinh/SYMPHONY-5.2.4/Cgl/src/CglGomory/CglGomory.hpp:10:
warning: forward declaration of 'struct CoinWarmStartBasis'
LP/lp_solver.c:2758: note: neither the destructor nor the class-specific
operator delete will be called, even if they are declared when the class
is defined.
LP/lp_solver.c: In function 'void get_slacks(LPdata*)':
LP/lp_solver.c:2913: error: 'CPXgetslack' was not declared in this scope
LP/lp_solver.c:2895: warning: unused variable 'cut'
make[3]: *** [libSym_la-lp_solver.lo] Error 1
make[3]: Leaving directory `/home/2010/vreinh/SYMPHONY-5.2.4/SYMPHONY/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/2010/vreinh/SYMPHONY-5.2.4/SYMPHONY/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/2010/vreinh/SYMPHONY-5.2.4/SYMPHONY'
}}}
The problem seems to be in ''CglGomory.hpp'', what could I do to solve
this?
--
Ticket URL: <https://projects.coin-or.org/SYMPHONY/ticket/107>
SYMPHONY <http://projects.coin-or.org/SYMPHONY>
The SYMPHONY framework for parallel branch-and-cut algorithms.
More information about the Symphony-tickets
mailing list