hi
thank you. how one would become aware of this updated version of AMPL? will
it be posted on this forum?
On Saturday, November 30, 2019 at 4:33:45 PM UTC+3:30, hosein....@gmail.com
On Mon, Dec 2, 2019 at 12:53 AM UTC, AMPL Google Group <am...@googlegroups.com> wrote:
We are actively working on updating the AMPL solver interface to Gurobi release 9, but we do not have a definite date for release as yet.
--
Robert Fourer
am...@googlegroups.com
When Gurobi 9.0 for AMPL becomes available, we will announce it on this forum, and also on our Twitter feed and under What's New on our homepage.
--
Robert Fourer
am...@googlegroups.com
On Tue, Dec 3, 2019 at 11:12 AM UTC, AMPL Modeling Language <am...@googlegroups.com> wrote:
hi
thank you. how one would become aware of this updated version of AMPL? will
it be posted on this forum?
On Saturday, November 30, 2019 at 4:33:45 PM UTC+3:30, hosein....@gmail.com
On Mon, Dec 2, 2019 at 12:53 AM UTC, AMPL Google Group <am...@googlegroups.com> wrote:
We are actively working on updating the AMPL solver interface to Gurobi release 9, but we do not have a definite date for release as yet.
--
Robert Fourer
am...@googlegroups.com
nonconvex How to handle non-convex quadratic objectives and constraints: -1 = default choice (currently the same as 1) 0 = complain about non-convex quadratic terms 1 = complain if Gurobi's presolve cannot discard or eliminate nonquadratic terms 2 = translate quadratic forms to bilinear form and use spatial branching.
here is the model:
var x; var y;
var u >= 0; var v >= 0;
var r; var s; var t;
minimize obj: u+v + *u * x*;
s.t. C1: r^2+s^2 <= u^2;
s.t. C2_1: t <= v;
s.t. C2_2: t >= -v;
s.t. C3: x+2 = r;
s.t. C4: y+1 = s;
s.t. C5: x+y = t;
if we remove u * x it is solved. otherwise not.
On Saturday, November 30, 2019 at 4:33:45 PM UTC+3:30, Hossein Haghighat
On Mon, Dec 9, 2019 at 6:19 AM UTC, AMPL Modeling Language <am...@googlegroups.com> wrote:
hi,
regarding the new feature for handling bilinear terms, I model a term like
z * y in the objective function where z is a sign-free variable and y a
bounded variable.
when I solve with gurobi 9, I get the error below:
Gurobi 9.0.0: quadratic objective is not positive definite
No basis.
why this happens, as we expect the new version handles it.
On Saturday, November 30, 2019 at 4:33:45 PM UTC+3:30, Hossein Haghighat
On Sun, Dec 8, 2019 at 2:17 AM UTC, AMPL Google Group <am...@googlegroups.com> wrote:
Gurobi 9.0 for AMPL is now available.
See https://groups.google.com/d/msg/ampl/Q-a5YaD5_VI/LZRNmzNGAwAJ.
--
Robert Fourer
am...@googlegroups.com
On Wed, Dec 4, 2019 at 11:36 AM UTC, AMPL Google Group <am...@googlegroups.com> wrote:
When Gurobi 9.0 for AMPL becomes available, we will announce it on this forum, and also on our Twitter feed and under What's New on our homepage.
--
Robert Fourer
am...@googlegroups.com
On Tue, Dec 3, 2019 at 11:12 AM UTC, AMPL Modeling Language <am...@googlegroups.com> wrote:
hi
thank you. how one would become aware of this updated version of AMPL? will
it be posted on this forum?
On Saturday, November 30, 2019 at 4:33:45 PM UTC+3:30, hosein....@gmail.com
On Mon, Dec 2, 2019 at 12:53 AM UTC, AMPL Google Group <am...@googlegroups.com> wrote:
We are actively working on updating the AMPL solver interface to Gurobi release 9, but we do not have a definite date for release as yet.
--
Robert Fourer
am...@googlegroups.com
thanks for reply. I do add the option as you mentioned.
to see there is still bugs in handling quadratic constraints, let us modify
the model above slightly, as copied below:
reset;
var x ; var y;
var u >= 0; var v >= 0;
var r; var s; var t;
minimize obj: u+v ;
s.t. C1: r^2+s^2* = *u^2;
s.t. C2_1: t <= v;
s.t. C2_2: t >= -v;
s.t. C3: x+2 = r;
s.t. C4: y+1 = s;
s.t. C5: x+y = t;
option solver gurobi;
option gurobi_options " NonConvex 2 ";
solve;
it give the error below:
Gurobi 9.0.0: NonConvex 2
Gurobi 9.0.0: Gurobi cannot handle quadratic equality constraints.
I have also tested a more general model with bilinear terms. it cannot
handle.
On Saturday, November 30, 2019 at 4:33:45 PM UTC+3:30, Hossein Haghighat
On Tue, Dec 10, 2019 at 1:33 AM UTC, AMPL Google Group <am...@googlegroups.com> wrote:
It is important to consider the new options in Gurobi 9.0, particularly the new option nonconvex:nonconvex How to handle non-convex quadratic objectives and constraints: -1 = default choice (currently the same as 1) 0 = complain about non-convex quadratic terms 1 = complain if Gurobi's presolve cannot discard or eliminate nonquadratic terms 2 = translate quadratic forms to bilinear form and use spatial branching.
To get Gurobi to accept nonconvex terms, you need to specify "option gurobi_options 'nonconvex=2';" (or add nonconvex=2 to a gurobi_options string that you are already specifying).
--
Robert Fourer
am...@googlegroups.com
On Mon, Dec 9, 2019 at 6:32 AM UTC, AMPL Modeling Language <am...@googlegroups.com> wrote:
here is the model:
var x; var y;
var u >= 0; var v >= 0;
var r; var s; var t;
minimize obj: u+v + *u * x*;
s.t. C1: r^2+s^2 <= u^2;
s.t. C2_1: t <= v;
s.t. C2_2: t >= -v;
s.t. C3: x+2 = r;
s.t. C4: y+1 = s;
s.t. C5: x+y = t;
if we remove u * x it is solved. otherwise not.
On Saturday, November 30, 2019 at 4:33:45 PM UTC+3:30, Hossein Haghighat
On Mon, Dec 9, 2019 at 6:19 AM UTC, AMPL Modeling Language <am...@googlegroups.com> wrote:
hi,
regarding the new feature for handling bilinear terms, I model a term like
z * y in the objective function where z is a sign-free variable and y a
bounded variable.
when I solve with gurobi 9, I get the error below:
Gurobi 9.0.0: quadratic objective is not positive definite
No basis.
why this happens, as we expect the new version handles it.
On Saturday, November 30, 2019 at 4:33:45 PM UTC+3:30, Hossein Haghighat
On Sun, Dec 8, 2019 at 2:17 AM UTC, AMPL Google Group <am...@googlegroups.com> wrote:
Gurobi 9.0 for AMPL is now available.
See https://groups.google.com/d/msg/ampl/Q-a5YaD5_VI/LZRNmzNGAwAJ.
--
Robert Fourer
am...@googlegroups.com
On Wed, Dec 4, 2019 at 11:36 AM UTC, AMPL Google Group <am...@googlegroups.com> wrote:
When Gurobi 9.0 for AMPL becomes available, we will announce it on this forum, and also on our Twitter feed and under What's New on our homepage.
--
Robert Fourer
am...@googlegroups.com
On Tue, Dec 3, 2019 at 11:12 AM UTC, AMPL Modeling Language <am...@googlegroups.com> wrote:
hi
thank you. how one would become aware of this updated version of AMPL? will
it be posted on this forum?
On Saturday, November 30, 2019 at 4:33:45 PM UTC+3:30, hosein....@gmail.com
On Mon, Dec 2, 2019 at 12:53 AM UTC, AMPL Google Group <am...@googlegroups.com> wrote:
We are actively working on updating the AMPL solver interface to Gurobi release 9, but we do not have a definite date for release as yet.
--
Robert Fourer
am...@googlegroups.com
hi,
regarding bilinear terms in AMPL-Gurobi 9, I have figured out that some
times instead of explicitly writing terms like X * Y (in objective or
constraints), the following reformulation works!:
Z= X * Y ====> Z >= X * Y , Z<= X * Y;
I would appreciate it very much if the main cause of this error can be
identified and fixed ASAP.
On Saturday, November 30, 2019 at 4:33:45 PM UTC+3:30, Hossein Haghighat
On Tue, Dec 10, 2019 at 10:45 AM UTC, AMPL Google Group <am...@googlegroups.com> wrote:
We don't immediately see anything in the Gurobi 9.0 documentation that explicitly prohibits quadratic equality constraints when nonconvex=2 is set. We are investigating the error message that you see, and will report as soon as there is a fix or an explanation.
--
Robert Fourer
am...@googlegroups.com
On Tue, Dec 10, 2019 at 2:15 AM UTC, AMPL Modeling Language <am...@googlegroups.com> wrote:
thanks for reply. I do add the option as you mentioned.
to see there is still bugs in handling quadratic constraints, let us modify
the model above slightly, as copied below:
reset;
var x ; var y;
var u >= 0; var v >= 0;
var r; var s; var t;
minimize obj: u+v ;
s.t. C1: r^2+s^2* = *u^2;
s.t. C2_1: t <= v;
s.t. C2_2: t >= -v;
s.t. C3: x+2 = r;
s.t. C4: y+1 = s;
s.t. C5: x+y = t;
option solver gurobi;
option gurobi_options " NonConvex 2 ";
solve;
it give the error below:
Gurobi 9.0.0: NonConvex 2
Gurobi 9.0.0: Gurobi cannot handle quadratic equality constraints.
I have also tested a more general model with bilinear terms. it cannot
handle.
On Saturday, November 30, 2019 at 4:33:45 PM UTC+3:30, Hossein Haghighat
On Saturday, November 30, 2019 at 4:33:45 PM UTC+3:30, Hossein Haghighat
On Mon, Dec 9, 2019 at 6:19 AM UTC, AMPL Modeling Language <am...@googlegroups.com> wrote:
hi,
regarding the new feature for handling bilinear terms, I model a term like
z * y in the objective function where z is a sign-free variable and y a
bounded variable.
when I solve with gurobi 9, I get the error below:
Gurobi 9.0.0: quadratic objective is not positive definite
No basis.
why this happens, as we expect the new version handles it.
On Saturday, November 30, 2019 at 4:33:45 PM UTC+3:30, Hossein Haghighat
On Sun, Dec 8, 2019 at 2:17 AM UTC, AMPL Google Group <am...@googlegroups.com> wrote:
Gurobi 9.0 for AMPL is now available.
See https://groups.google.com/d/msg/ampl/Q-a5YaD5_VI/LZRNmzNGAwAJ.
--
Robert Fourer
am...@googlegroups.com
On Wed, Dec 4, 2019 at 11:36 AM UTC, AMPL Google Group <am...@googlegroups.com> wrote:
When Gurobi 9.0 for AMPL becomes available, we will announce it on this forum, and also on our Twitter feed and under What's New on our homepage.
--
Robert Fourer
am...@googlegroups.com
On Tue, Dec 3, 2019 at 11:12 AM UTC, AMPL Modeling Language <am...@googlegroups.com> wrote:
hi
thank you. how one would become aware of this updated version of AMPL? will
it be posted on this forum?
On Saturday, November 30, 2019 at 4:33:45 PM UTC+3:30, hosein....@gmail.com
hello,
thanks a lot. I *do not see* the updated version in my download page.
On Saturday, November 30, 2019 at 4:33:45 PM UTC+3:30, Hossein Haghighat
On Fri, Dec 13, 2019 at 11:50 PM UTC, AMPL Google Group <am...@googlegroups.com> wrote:
We have fixed the AMPL-Gurobi interface so that quadratic equality constraints are accepted when 'nonconvex 2' is specified. An updated build, containing this fix, is now available for download.
--
Robert Fourer
am...@googlegroups.com
On Fri, Dec 13, 2019 at 5:15 AM UTC, AMPL Modeling Language <am...@googlegroups.com> wrote:
hi,
regarding bilinear terms in AMPL-Gurobi 9, I have figured out that some
times instead of explicitly writing terms like X * Y (in objective or
constraints), the following reformulation works!:
Z= X * Y ====> Z >= X * Y , Z<= X * Y;
I would appreciate it very much if the main cause of this error can be
identified and fixed ASAP.
On Saturday, November 30, 2019 at 4:33:45 PM UTC+3:30, Hossein Haghighat
On Saturday, November 30, 2019 at 4:33:45 PM UTC+3:30, Hossein Haghighat
On Saturday, November 30, 2019 at 4:33:45 PM UTC+3:30, Hossein Haghighat
On Mon, Dec 9, 2019 at 6:19 AM UTC, AMPL Modeling Language <am...@googlegroups.com> wrote:
hi,
regarding the new feature for handling bilinear terms, I model a term like
z * y in the objective function where z is a sign-free variable and y a
bounded variable.
when I solve with gurobi 9, I get the error below:
Gurobi 9.0.0: quadratic objective is not positive definite
No basis.
why this happens, as we expect the new version handles it.
On Saturday, November 30, 2019 at 4:33:45 PM UTC+3:30, Hossein Haghighat
Sender notified by Mailtrack 12/14/19, 01:23:29 PM |
--
You received this message because you are subscribed to a topic in the Google Groups "AMPL Modeling Language" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ampl/Y17TZSoqFvc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ampl+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ampl/reply-77152-1019856070-2916030464-1576316321-1594914609%40helpscout.net.
hello,
I am running a model with AMPL-Gurobi 9. two consecutive runs give two different solutions. is there any heuristic method in this version ? which solution I can trust?
On Sat, Dec 14, 2019 at 9:54 AM UTC, AMPL Modeling Language <am...@googlegroups.com> wrote:
hello,
many thanks for the excellent support! it is resolved now.
Sender notified by
Mailtrack 12/14/19, 01:23:29 PM
On Sat, Dec 14, 2019 at 9:38 AM UTC, AMPL Google Group <am...@googlegroups.com> wrote:
The Gurobi build that contains the fix is dated 20191211. Your download page at https://ampl.com/dl/ampl-download.html should show some of the following (depending on the platforms that you are using):
(Older dates correspond to platforms that Gurobi stopped supporting.) If you are not seeing the 20191211 versions, can you post a screenshot?
On Sat, Dec 14, 2019 at 2:46 AM UTC, AMPL Modeling Language <am...@googlegroups.com> wrote:
hello,
thanks a lot. I *do not see* the updated version in my download page.
On Saturday, November 30, 2019 at 4:33:45 PM UTC+3:30, Hossein Haghighat
On Fri, Dec 13, 2019 at 11:50 PM UTC, AMPL Google Group <am...@googlegroups.com> wrote:
We have fixed the AMPL-Gurobi interface so that quadratic equality constraints are accepted when 'nonconvex 2' is specified. An updated build, containing this fix, is now available for download.
--
Robert Fourer
am...@googlegroups.com