--
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 ampl+uns...@googlegroups.com.
To post to this group, send email to am...@googlegroups.com.
Visit this group at https://groups.google.com/group/ampl.
For more options, visit https://groups.google.com/d/optout.
The first objective function involve the division of floating point and second does not. I would recommend to write in the second format as the inaccuracy might be accumulated in the floating point division. The difference could be attributed to the floating point operations. Are you concern with the result of the optimization problem?{#HS:544498794-3114#}
--
Paras Tiwari
am...@googlegroups.com
On Mon, Mar 19, 2018 at 9:25 PM UTC, <am...@googlegroups.com> wrote:
Hi,
My question is about a format of objective function? I used baron solver and defined an objective function like this:
OF: x1 + x2 + (x1 + x3)/2
instead of defining like this:
OF: 1.5x1 + x2 + 0.5x3
The results were different?!
Was that an accident? or it happens and it pursue a specific format.
Thank you.
--
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 ampl+unsubscribe@googlegroups.com.
To post to this group, send email to am...@googlegroups.com.
Visit this group at https://groups.google.com/group/ampl.
For more options, visit https://groups.google.com/d/optout.
--
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 ampl+unsubscribe@googlegroups.com.
Doing local search Solving bounding LP Problem solved during preprocessing Lower bound is 0.100000000000E+052 Problem is infeasible Cleaning upand this when it used OF1 and solved by BARON
1322 variables: 1104 nonlinear variables 218 linear variables 1619 constraints; 7294 nonzeros 1185 nonlinear constraints 434 linear constraints 1610 equality constraints 9 inequality constraints 1 nonlinear objective; 21 nonzeros. z = 0.311913
Hi Paras,I would say it's highly unlikely that floating-point error would cause a noticeable difference(because it's of order 2e-16). Whoever asked the question should explain more aboutwhatever difference was noticed.Michael
On Mon, Mar 19, 2018 at 2:48 PM, AMPL Google Group <am...@googlegroups.com> wrote:
The first objective function involve the division of floating point and second does not. I would recommend to write in the second format as the inaccuracy might be accumulated in the floating point division. The difference could be attributed to the floating point operations. Are you concern with the result of the optimization problem?{#HS:544498794-3114#}
--
Paras Tiwari
am...@googlegroups.com
On Mon, Mar 19, 2018 at 9:25 PM UTC, <am...@googlegroups.com> wrote:
Hi,
My question is about a format of objective function? I used baron solver and defined an objective function like this:
OF: x1 + x2 + (x1 + x3)/2
instead of defining like this:
OF: 1.5x1 + x2 + 0.5x3
The results were different?!
Was that an accident? or it happens and it pursue a specific format.
Thank you.
--
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 ampl+uns...@googlegroups.com.
To post to this group, send email to am...@googlegroups.com.
Visit this group at https://groups.google.com/group/ampl.
For more options, visit https://groups.google.com/d/optout.
--
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 ampl+uns...@googlegroups.com.
Hi Paras,
Yes, I can, Could you send me your email address?
It's part of a project and I have no permission to put it here.
On Tue, Mar 20, 2018 at 5:16 PM UTC, AMPL Google Group <am...@googlegroups.com> wrote:
Would it be possible for you to send your model and data file so that we could run at our end?
--
Paras Tiwari
am...@googlegroups.com