[Cbc] [QUARANTINE] Re: Compiling on Windows

Luis Pinto luisfdcp at gmail.com
Tue Nov 16 14:41:52 EST 2010


When I was testing CBC, sometime back, I found this build:
http://www.dei.unipd.it/~fisch/cbcSolve23g.exe

Probably some 6 months old, at least.

Hope it helps,

Luis Pinto

www.unisoma.com.br

On 16 November 2010 17:05, Wenchel, Seth <wenchel at metsci.com> wrote:

> Okay. That Cbc binary runs, but it doesn't seem to have the "threads"
> option
> like Cbc has when I run it on my Mac. Is it compiled with parallel support?
>
> Thanks for the help,
> seth
>
> Seth S. Wenchel
>
> Sooner or later any problem will get big enough that you can¹t solve it.
> But it¹s nicer if you make it later.
>    ~A. Rosenberg
>
>
> > From: Stefan Vigerske <vigerske at zib.de>
> > Date: Tue, 16 Nov 2010 18:59:18 +0100
> > To: Seth Wenchel <wenchel at metsci.com>
> > Cc: Haroldo Santos <haroldo.santos at gmail.com>, <cbc at list.coin-or.org>
> > Subject: [QUARANTINE] Re: [Cbc] Compiling on Windows
> >
> > Hi,
> >
> > there should be a Cbc 2.4.x binary be included in
> >
> http://www.coin-or.org/download/binary/Bonmin/Bonmin-1.4.0-win32-msvc9.zip
> >
> > Stefan
> >
> >> I had looked there, but since the newest windows binary is more than 3
> years
> >> old, I was hoping to take advantage of some of the improvements since
> then
> >> (under the assumption that Cbc 2.6 is significantly better than 1.x).
> >> cheers
> >> seth
> >>
> >> Seth S. Wenchel
> >>
> >> Sooner or later any problem will get big enough that you can¹t solve it.
> >> But it¹s nicer if you make it later.
> >>     ~A. Rosenberg
> >>
> >>
> >>
> >> From: Haroldo Santos <haroldo.santos at gmail.com>
> >> Date: Tue, 16 Nov 2010 15:16:30 -0200
> >> To: Seth Wenchel <wenchel at metsci.com>
> >> Cc: <cbc at list.coin-or.org>
> >> Subject: Re: [Cbc] Compiling on Windows
> >>
> >> Hi Seth,
> >>
> >> Perhaps you should try the CoinBinary project, which provides
> pre-compiled
> >> binaries ready to use for unix and windows.
> >>
> >> https://projects.coin-or.org/CoinBinary
> >>
> >> []'s
> >>
> >>
> >> On Tue, Nov 16, 2010 at 1:32 PM, Wenchel, Seth <wenchel at metsci.com>
> wrote:
> >>> I have a 24-core server on which I'd like to run Cbc 2.6.  It needs to
> run
> >>> windows because of some other projects so I can't change it.
> >>>
> >>> I've tried building Cbc using both the Cbc.sln inside MSVS 2k8 (v9) and
> >>> under cygwin using gcc4.  I haven't included any of the 3rd party
> files.
> >>> C/C++ isn't my strong suit so if these errors are really common, I
> >>> apologize.  If I can get this figured out I'll happily contribute notes
> >>> and/or files back to the project.  As a side note, I've successfully
> built
> >>> Cbc on my Mac using the online instructions.
> >>>
> >>> MSVS
> >>> After updating the include directories for the Osi* files, I was able
> to get
> >>> everything to build but had the following linking error.
> >>>
> >>> 1>------ Build started: Project: cbcCInterfaceDll, Configuration: Debug
> >>> Win32 ------
> >>> 1>Linking...
> >>> 1>   Creating library Debug/cbcCInterfaceDll.lib and object
> >>> Debug/cbcCInterfaceDll.exp
> >>> 1>libcgl.lib(OsiSolverInterface.obj) : error LNK2019: unresolved
> external
> >>> symbol "public: __thiscall OsiAuxInfo::OsiAuxInfo(void *)"
> >>> (??0OsiAuxInfo@@QAE at PAX@Z) referenced in function "public: void
> __thiscall
> >>> OsiSolverInterface::setApplicationData(void *)"
> >>> (?setApplicationData at OsiSolverInterface@@QAEXPAX at Z)
> >>> 1>libcbc.lib(CbcModel.obj) : error LNK2019: unresolved external symbol
> >>> "public: bool __thiscall OsiBabSolver::mipFeasible(void)const "
> >>> (?mipFeasible at OsiBabSolver@@QBE_NXZ) referenced in function "public:
> void
> >>> __thiscall CbcModel::branchAndBound(int)"
> >>> (?branchAndBound at CbcModel@@QAEXH at Z)
> >>> 1>libcbc.lib(CbcModel.obj) : error LNK2019: unresolved external symbol
> >>> "public: virtual __thiscall OsiBabSolver::~OsiBabSolver(void)"
> >>> (??1OsiBabSolver@@UAE at XZ) referenced in function "public: void
> __thiscall
> >>> CbcModel::branchAndBound(int)" (?branchAndBound at CbcModel@@QAEXH at Z)
> >>> 1>libcbc.lib(CbcModel.obj) : error LNK2019: unresolved external symbol
> >>> "public: __thiscall OsiBabSolver::OsiBabSolver(int)"
> >>> (??0OsiBabSolver@@QAE at H@Z) referenced in function "public: void
> __thiscall
> >>> CbcModel::branchAndBound(int)" (?branchAndBound at CbcModel@@QAEXH at Z)
> >>> 1>libcbc.lib(CbcModel.obj) : error LNK2019: unresolved external symbol
> >>> "public: int __thiscall OsiBabSolver::solution(double &,double *,int)"
> >>> (?solution at OsiBabSolver@@QAEHAANPANH at Z) referenced in function
> "public:
> >>> double __thiscall CbcModel::checkSolution(double,double *,int,double)"
> >>> (?checkSolution at CbcModel@@QAENNPANHN at Z)
> >>> 1>libcbc.lib(CbcHeuristic.obj) : error LNK2001: unresolved external
> symbol
> >>> "public: int __thiscall OsiBabSolver::solution(double &,double *,int)"
> >>> (?solution at OsiBabSolver@@QAEHAANPANH at Z)
> >>> 1>libcbc.lib(CbcModel.obj) : error LNK2019: unresolved external symbol
> >>> "public: double __thiscall OsiBabSolver::mipBound(void)const "
> >>> (?mipBound at OsiBabSolver@@QBENXZ) referenced in function "public: void
> >>> __thiscall CbcModel::setObjectiveValue(class CbcNode *,class CbcNode
> const
> >>> *)const " (?setObjectiveValue at CbcModel@@QBEXPAVCbcNode@@PBV2@@Z)
> >>>
> 1>c:\coin-Cbc\coin-Cbc\Cbc\MSVisualStudio\v9\cbcCInterfaceDll\../../cbcCInte
> >>> rfacegDll.dll : fatal error LNK1120: 6 unresolved externals
> >>> 1>Build log was saved at
> >>>
> "file://c:\coin-Cbc\coin-Cbc\Cbc\MSVisualStudio\v9\cbcCInterfaceDll\Debug\Bu
> >>> ildLog.htm"
> >>> 1>cbcCInterfaceDll - 8 error(s), 0 warning(s)
> >>> ========== Build: 0 succeeded, 1 failed, 6 up-to-date, 0 skipped
> ==========
> >>>
> >>> CYGWIN
> >>> ./configure ends with the correct message as noted but make fails.
>  I've
> >>> only included the last portion of the output, but send the rest if
> needed.
> >>>
> >>>
> /cygdrive/c/Cbc/coin-Cbc/coin-Cbc/Clp/src/.libs/libClp.a(ClpFactorization.o)
> >>> :Clp
> >>> Factorization.cpp:(.text+0x5b6): undefined reference to
> >>> `CoinFactorization::upda
> >>> teColumn(CoinIndexedVector*, CoinIndexedVector*, bool) const'
> >>> collect2: ld returned 1 exit status
> >>> make[3]: *** [cbc.exe] Error 1
> >>> make[3]: Leaving directory `/cygdrive/c/Cbc/coin-Cbc/coin-Cbc/Cbc/src'
> >>> make[2]: *** [all-recursive] Error 1
> >>> make[2]: Leaving directory `/cygdrive/c/Cbc/coin-Cbc/coin-Cbc/Cbc/src'
> >>> make[1]: *** [all-recursive] Error 1
> >>> make[1]: Leaving directory `/cygdrive/c/Cbc/coin-Cbc/coin-Cbc/Cbc'
> >>> make: *** [all-recursive] Error 1
> >>>
> >>> Cheers
> >>> seth
> >>>
> >>> Seth S. Wenchel
> >>> Metron, Inc.
> >>>
> >>> Sooner or later any problem will get big enough that you can¹t solve
> it.
> >>> But it¹s nicer if you make it later.
> >>>     ~A. Rosenberg
> >>>
> >>>
> >>> _______________________________________________
> >>> Cbc mailing list
> >>> Cbc at list.coin-or.org
> >>> http://list.coin-or.org/mailman/listinfo/cbc
> >>
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Cbc mailing list
> >> Cbc at list.coin-or.org
> >> http://list.coin-or.org/mailman/listinfo/cbc
> >
>
>
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cbc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/cbc/attachments/20101116/a46bab28/attachment.html 


More information about the Cbc mailing list