While in Baron, after using the "include" command to run my .run file, nothing seems to happen, as you can see in this picture:
Is there anyway i can set baron to show messages like Couenne?
--
You received this message because you are subscribed to the Google Groups "AMPL Modeling Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
On Tue, Mar 12, 2019 at 10:24 AM UTC, Ampl Modeling Language <am...@googlegroups.com> wrote:
Hi,
Couenne needs to be re-built with a few extra options for the configure command:
--with-cpx-incdir followed by the directory with the include files;
--with-cpx-lib followed by the necessary linker options to compile with Cplex libraries, i.e. -L+directory of libraries and -l+name of the library without "lib".
Hope this helps.
Regards,
Pietro
On Mon, Mar 11, 2019 at 3:54 PM UTC, Ampl Modeling Language <am...@googlegroups.com> wrote:
Hello,
I've put the couenne.opt file in the same folder as my .mod, .data and .run files. And i've write inside of it, the "lp_solver cplex".
But i'm getting this error:
ANALYSIS TEST: Couenne was compiled without CPLEX interface. Please reconfigure, recompile, and try again.
exit value 18446744073709551615
How can i fix it?
Another question. First i tried without CPLEX, and Couenne solved my problem in 7 minutes. Then, i tried with Baron, but it couldn't solve my problem. This kind of thing usually happens?
Em domingo, 10 de março de 2019 08:43:52 UTC-3, Pietro Belotti escreveu:
On Sun, Mar 10, 2019 at 1:16 PM UTC, AMPL Google Group <am...@googlegroups.com> wrote:
For BARON, see the options lsolver (for local nonlinear solver) and lpsolver (for linear programming solver) at https://ampl.com/products/solvers/solvers-we-sell/baron/options/. For example, to set CPLEX as the linear solver, give the AMPL command
option baron_options 'lpsolver=cplex';
To also set the nonlinear solver as Knitro, the command is
option baron_options 'lpsolver=cplex lsolver=knitro';
--
Robert Fourer
am...@googlegroups.com