[Bonmin-tickets] [Bonmin] #53: bonmin apparently not using Cplex even if told to
Bonmin
coin-trac at coin-or.org
Mon Aug 28 05:07:09 EDT 2017
#53: bonmin apparently not using Cplex even if told to
--------------------+----------------------
Reporter: frangio | Owner: pbonami
Type: defect | Status: new
Priority: major | Component: Bonmin
Version: 1.5 | Resolution:
Keywords: |
--------------------+----------------------
Comment (by stefan):
Replying to [ticket:53 frangio]:
> Hi.
>
> We built bonmin from the latest source, with the appropriate {{{--with-
cplex**}}} options. Which, as far as I understand, worked because the
libOsiCpx.* stuff have been duly produced:
>
> $ ls /usr/bonmin/lib/libOsiCpx.*
> /usr/bonmin/lib/libOsiCpx.a /usr/bonmin/lib/libOsiCpx.so
/usr/bonmin/lib/libOsiCpx.so.1.12.9
> /usr/bonmin/lib/libOsiCpx.la /usr/bonmin/lib/libOsiCpx.so.1
>
> Nonetheless, bonmin does not seen to "acknowledge" Cplex:
>
> $ /usr/bonmin/bin/bonmin
> Bonmin 1.8.6 using Cbc 2.9.9 and Ipopt 3.12.8
I think it only states a "random set" of dependencies here.
> Indeed, when I solve some instance with B-OA, either ostensibly using
Cplex with
>
> $ /usr/bonmin/bin/bonmin nlkp_100_5.nl bonmin.algorithm=B-OA
bonmin.milp_solver=Cplex
>
> or not, with
>
> $ /usr/bonmin/bin/bonmin nlkp_100_5.nl bonmin.algorithm=B-OA
>
> I get basically the same result. I'm attaching one instance and two
logs, but we have checked this on more. The logs show a bunch of lines
like
>
> Cbc0031I 76 added rows had average density of 4
>
> showing Cbc at work, but there is no mention of Cplex doing anything.
>
> Is it us doing something wrong?
With the options file
{{{
bonmin.algorithm B-OA
milp_solver cplex
bonmin.milp_log_level 1
}}}
I can see some CPLEX output.
I'm never sure when to use the {{{bonmin.}}} prefix in the option names,
but here it seems that it should be omitted.
I only tried a current Bonmin version, but it might still apply to 1.5,
too.
--
Ticket URL: <https://projects.coin-or.org/Bonmin/ticket/53#comment:1>
Bonmin <http://projects.coin-or.org/Bonmin>
Basic Open-source Nonlinear Mixed INteger programming
More information about the Bonmin-tickets
mailing list