<br><br><div class="gmail_quote"><div>Hi, </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><br>
</div>Someone correct me if I&#39;m wrong, but I think Bonmin does not enforce the<br>
timelimit during the Ipopt run.</blockquote><div>No you are right. Even though there is an option in Ipopt it is not so simple as Cbc does not check for it (it will consider sub-problem finished due to time limit as infeasible).</div>
<div>Cheers,</div><div>Pierre</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
But there is a new Ipopt option to limit the time:<br>
<a href="http://www.coin-or.org/Ipopt/documentation/node70.html" target="_blank">http://www.coin-or.org/Ipopt/documentation/node70.html</a><br>
Does it help when you add a<br>
max_cpu_time 1<br>
to your option file (without &quot;bonmin.&quot;-prefix) ?<br>
<font color="#888888"><br>
Stefan<br>
</font><div><div></div><div class="h5"><br>
&gt;<br>
&gt; Many many thanks<br>
&gt;<br>
&gt; giuseppe<br>
&gt;<br>
&gt;<br>
&gt; WARNING: Tried to set option &quot;print_level&quot; to a value of &quot;1&quot;,<br>
&gt;          but the previous value is set to disallow clobbering.<br>
&gt;          The setting will remain as: &quot;print_level 6&quot;<br>
&gt;<br>
&gt; List of options:<br>
&gt;<br>
&gt;                                     Name   Value                # times used<br>
&gt;                         bonmin.algorithm = B-BB                      1<br>
&gt;                      bonmin.bb_log_level = 4                         2<br>
&gt;                   bonmin.iteration_limit = 10                        1<br>
&gt;               bonmin.number_before_trust = 1                         0<br>
&gt;              bonmin.number_strong_branch = 1000                      0<br>
&gt;                        bonmin.time_limit = 1                         1<br>
&gt;                bonmin.variable_selection = nlp-strong-branching      0<br>
&gt;                expect_infeasible_problem = yes                       2<br>
&gt;                                gamma_phi = 1e-08                     1<br>
&gt;                              gamma_theta = 0.0001                    1<br>
&gt;                                mu_oracle = probing                   2<br>
&gt;                              mu_strategy = adaptive                  2<br>
&gt;                              print_level = 6                         3<br>
&gt;                           print_solution = yes                       1<br>
&gt;         required_infeasibility_reduction = 0.1                       0<br>
&gt;<br>
&gt; ******************************************************************************<br>
&gt; This program contains Ipopt, a library for large-scale nonlinear optimization.<br>
&gt;  Ipopt is released as open source code under the Common Public License (CPL).<br>
&gt;          For more information visit <a href="http://projects.coin-or.org/Ipopt" target="_blank">http://projects.coin-or.org/Ipopt</a><br>
&gt; ******************************************************************************<br>
&gt;<br>
&gt; NOTE: You are using Ipopt by default with the MUMPS linear solver.<br>
&gt;       Other linear solvers might be more efficient (see Ipopt documentation).<br>
&gt;<br>
&gt;<br>
&gt; This is Ipopt version 3.6stable, running with linear solver mumps.<br>
&gt;<br>
&gt; Number of nonzeros in equality constraint Jacobian...:    10581<br>
&gt; Number of nonzeros in inequality constraint Jacobian.:     1684<br>
&gt; Number of nonzeros in Lagrangian Hessian.............:     1440<br>
&gt;<br>
&gt; Scaling parameter for objective function = 1.000000e+00<br>
&gt; Equality constraints are scaled with smallest scaling parameter is 1.000000e-01<br>
&gt; Inequality constraints are not scaled.<br>
&gt; Moved initial values of x sufficiently inside the bounds.<br>
&gt;<br>
&gt;<br>
&gt; ....................................................................................<br>
&gt; ....................................................................................<br>
&gt; ....................................................................................<br>
&gt; ....................................................................................<br>
&gt; ....................................................................................<br>
&gt; ....................................................................................<br>
&gt; ....................................................................................<br>
&gt; ....................................................................................<br>
&gt; ....................................................................................<br>
&gt; ....................................................................................<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;  **************************************************<br>
&gt; *** Update HessianMatrix for Iteration 138:<br>
&gt; **************************************************<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; **************************************************<br>
&gt; *** Summary of Iteration: 138:<br>
&gt; **************************************************<br>
&gt;<br>
&gt; iter    objective    inf_pr   inf_du lg(mu)  ||d||  lg(rg) alpha_du alpha_pr  ls<br>
&gt;  138 -6.7209529e+01 3.64e-02 2.18e+06   1.0 9.05e-01   5.4 1.81e-01<br>
&gt; 1.07e-01h  1 Fl<br>
&gt;<br>
&gt; **************************************************<br>
&gt; *** Beginning Iteration 138 from the following point:<br>
&gt; **************************************************<br>
&gt;<br>
&gt; Current barrier parameter mu = 1.0903679534902398e+01<br>
&gt; Current fraction-to-the-boundary parameter tau = 9.8999999999999999e-01<br>
&gt;<br>
&gt; ||curr_x||_inf   = 1.9661942024696255e+05<br>
&gt; ||curr_s||_inf   = 1.2178079283934749e+04<br>
&gt; ||curr_y_c||_inf = 2.6443132699285839e+07<br>
&gt; ||curr_y_d||_inf = 1.2624137038804408e+07<br>
&gt; ||curr_z_L||_inf = 5.3355026600588057e+06<br>
&gt; ||curr_z_U||_inf = 2.2719144233394220e+07<br>
&gt; ||curr_v_L||_inf = 1.0903812213355341e-08<br>
&gt; ||curr_v_U||_inf = 1.0900972670818821e+07<br>
&gt;<br>
&gt;<br>
&gt; ***Current NLP Values for Iteration 138:<br>
&gt;<br>
&gt;                                    (scaled)                 (unscaled)<br>
&gt; Objective...............:  -6.7209528968436345e+01   -6.7209528968436345e+01<br>
&gt; Dual infeasibility......:   2.1777462890798487e+06    2.1777462890798487e+06<br>
&gt; Constraint violation....:   3.6405018980666198e-02    9.8824327150319968e-02<br>
&gt; Complementarity.........:   1.8107150690355127e+02    1.8107150690355127e+02<br>
&gt; Overall NLP error.......:   6.6624480905292455e+02    2.1777462890798487e+06<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; **************************************************<br>
&gt; *** Update Barrier Parameter for Iteration 138:<br>
&gt; **************************************************<br>
&gt;<br>
&gt; Remaining in fixed mu mode.<br>
&gt; Barrier Parameter: 1.090368e+01<br>
&gt;<br>
&gt; **************************************************<br>
&gt; *** Solving the Primal Dual System for Iteration 138:<br>
&gt; **************************************************<br>
&gt;<br>
&gt; Number of doubles for MUMPS to hold factorization (INFO(9)) = 253214<br>
&gt; Number of integers for MUMPS to hold factorization (INFO(10)) = 142227<br>
&gt; In MumpsSolverInterface::Factorization: negevals_ = 3903, but<br>
&gt; numberOfNegEVals = 3353<br>
&gt; Factorization failed with retval = 2<br>
&gt; Number of doubles for MUMPS to hold factorization (INFO(9)) = 129365<br>
&gt; Number of integers for MUMPS to hold factorization (INFO(10)) = 138707<br>
&gt; In MumpsSolverInterface::Factorization: negevals_ = 3354, but<br>
&gt; numberOfNegEVals = 3353<br>
&gt; Factorization failed with retval = 2<br>
&gt; Number of doubles for MUMPS to hold factorization (INFO(9)) = 129365<br>
&gt; Number of integers for MUMPS to hold factorization (INFO(10)) = 138707<br>
&gt;<br>
&gt;<br>
&gt; real    2m40.741s<br>
&gt; user    1m46.039s<br>
&gt; sys     0m1.736s<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Bonmin mailing list<br>
&gt; <a href="mailto:Bonmin@list.coin-or.org">Bonmin@list.coin-or.org</a><br>
&gt; <a href="http://list.coin-or.org/mailman/listinfo/bonmin" target="_blank">http://list.coin-or.org/mailman/listinfo/bonmin</a><br>
&gt;<br>
<br>
_______________________________________________<br>
Bonmin mailing list<br>
<a href="mailto:Bonmin@list.coin-or.org">Bonmin@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/bonmin" target="_blank">http://list.coin-or.org/mailman/listinfo/bonmin</a><br>
</div></div></blockquote></div><br>