Fwd: AMPL Trial License

82 views
Skip to first unread message

Dhanushka udara

unread,
Oct 27, 2018, 9:32:28 AM10/27/18
to am...@googlegroups.com


---------- Forwarded message ---------
From: Dhanushka udara <dhanus...@gmail.com>
Date: Sat, Oct 27, 2018 at 2:02 PM
Subject: Re: AMPL Trial License
To: <mel...@ampl.com>


I re-installed the AMPL and replace the licence file. Now problem is only with the cplex solver. This are the commands and error.

ampl: reset;
ampl: model Nurse2.mod;
ampl: data Nurse2.dat;
ampl: option solver cplex;
ampl: solve;
exit value 18446744072635810105
<BREAK>
ampl: 

here I have attached the .mod and .dat files.

Please help me. 

On Fri, Oct 26, 2018 at 10:44 PM Melinh Nguyen <mel...@ampl.com> wrote:
Hello,

Can you please post this to: https://groups.google.com/d/forum/ampl
One of our developers will be able to help you there.

Warm Regards,

Melinh

--
Melinh Nguyen

AMPL Sales
Ph:  (773) 336-2675
Fax:  (425) 940-6286


On Fri, Oct 26, 2018 at 10:03 AM Dhanushka udara <dhanus...@gmail.com> wrote:
I have replaced the above file in my computer but after that the following error is occurred. 

exit value 18446744072635810105
<BREAK>

I have been trying this for several days. Now the models which have very few number of variable and constraints also does not solve in my AMPL. Please help.

On Mon, Oct 22, 2018 at 9:01 PM Melinh Nguyen <mel...@ampl.com> wrote:
Thank you for sending us your AMPL trial license request. Attached to this message you will find a temporary license file, ampl.lic, good for 30 days.

Instructions:
1. Download and install our package of AMPL and solver software, by following the directions at http://ampl.com/try-ampl/download-a-free-demo/. You will have a choice of packages for popular platforms (Windows, Linux, and MacOSX) and for AMPL interfaces (IDE or command-line).
2. Find the ampl.lic file that is included in the package you installed, and replace it with the ampl.lic file attached to this message.  This unlocks the package to run problems of any size on the computer for which you sent us a fingerprint string.

**See www.ampl.com/resources/the-ampl-book/chapter-downloads/ for a complete introduction to the AMPL language and system, including numerous examples.  For help in choosing solvers, consult our solver page at http://ampl.com/products/solvers/; all of the solvers we sell are included in the trial.

**To view our price lists and instructions for ordering AMPL and solvers after the 30-day trial period, see our AMPL product page at http://ampl.com/try-ampl/buy-ampl/.

AMPL Licensing Services
tr...@ampl.com

///////////

AMPL Optimization Inc.
www.ampl.com -- +1 773-336-2673 -- lice...@ampl.com

Price quotes, orders: sa...@ampl.com
Technical assistance: sup...@ampl.com

Post your questions to the AMPL Modeling Language newsgroup:
am...@googlegroups.com -- groups.google.com/group/ampl

Nurse2.dat
Nurse2.mod

AMPL Google Group

unread,
Oct 28, 2018, 3:31:56 PM10/28/18
to Ampl Modeling Language
We were able to run CPLEX successfully using your files:
ampl: model Nurse2.mod;
ampl: data Nurse2.dat;
ampl: option solver cplex;
ampl: solve;
CPLEX 12.8.0.0: integer infeasible.
241 MIP simplex iterations
0 branch-and-bound nodes
No basis.
ampl: 

Were you running Windows (which we used for this test) or Linux or maxOS?

As a workaround while we investigate, we suggest trying "option solver gurobi;" and/or "option solver xpress;". That will solve the problem with the Gurobi and/or Xpress solvers, which are similar to CPLEX and just as good for your problem. Let us know how this works.

--
Robert Fourer
am...@googlegroups.com
{#HS:695007392-27136#}
On Sun, Oct 28, 2018 at 3:20 AM UTC, Ampl Modeling Language <am...@googlegroups.com> wrote:
ampl: model dieti.mod;
ampl: data diet2a.dat;
ampl: option solver cplex;
ampl: solve;
exit value 18446744072635810105
<BREAK>
ampl:

I have wasted several days for this please help.

Dhanushka udara

unread,
Oct 29, 2018, 1:19:02 AM10/29/18
to am...@googlegroups.com
Thank you. 
the solver 'gurobi' is working fine. But I don't know why it is not woring with 'çplex'. Anyway thank you again for your help. 

Best regards

--
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.

dhanus...@gmail.com

unread,
Oct 29, 2018, 1:21:24 AM10/29/18
to AMPL Modeling Language
Thank you.
the solver 'gurobi' is working fine. But I don't know why it is not woring with 'çplex'. Anyway thank you again for your help.

AMPL Google Group

unread,
Oct 29, 2018, 4:36:52 PM10/29/18
to Ampl Modeling Language
I successfully run in Mac OSX.

ampl: model '/Users/paras/Downloads/Attachments (1)/Nurse2.mod';
ampl: data '/Users/paras/Downloads/Attachments (1)/Nurse2.dat';

ampl: option solver cplex;
ampl: solve;
CPLEX 12.8.0.0: integer infeasible.
241 MIP simplex iterations
0 branch-and-bound nodes
No basis.

The problem should be specific to your computer. Can you run other models using CPLEX in your computer?

--
Dr. Paras Tiwari
am...@googlegroups.com
{#HS:695007392-27136#}
On Mon, Oct 29, 2018 at 5:21 AM UTC, Ampl Modeling Language <am...@googlegroups.com> wrote:
Thank you.
the solver 'gurobi' is working fine. But I don't know why it is not woring with 'çplex'. Anyway thank you again for your help.



On Mon, Oct 29, 2018 at 5:19 AM UTC, Ampl Modeling Language <am...@googlegroups.com> wrote:
Thank you.
the solver 'gurobi' is working fine. But I don't know why it is not woring with 'çplex'. Anyway thank you again for your help.

Best regards



On Sun, Oct 28, 2018 at 7:31 PM UTC, AMPL Google Group <am...@googlegroups.com> wrote:
We were able to run CPLEX successfully using your files:

ampl: model Nurse2.mod;
ampl: data Nurse2.dat;
ampl: option solver cplex;
ampl: solve;
CPLEX 12.8.0.0: integer infeasible.
241 MIP simplex iterations
0 branch-and-bound nodes
No basis.
ampl: 

Were you running Windows (which we used for this test) or Linux or maxOS?

As a workaround while we investigate, we suggest trying "option solver gurobi;" and/or "option solver xpress;". That will solve the problem with the Gurobi and/or Xpress solvers, which are similar to CPLEX and just as good for your problem. Let us know how this works.

--
Robert Fourer
am...@googlegroups.com


Reply all
Reply to author
Forward
0 new messages