Hello, I'm trying to solve a model using a MINLP solver. I'm currently using ALPHAecp (comes with the GAMS demo). I want to change a solver option "MIPsolstrat". I selected the option using (Utilities->OPtion Editor) in the GAMS IDE, but I'm having trouble compiling the line which makes the solver open the option file..

I used:

Model lehavim /all/ ; Option MINLP=alphaecp; lehavim.alphaecp.opt = 1; solve lehavim using minlp minimizing z ;

But I'm getting an error for the "lehavim.alphaecp.opt = 1;" line:

*** Error 113 in C:studysem7ôøåé÷è úëïBTL projectGAMSnonlinear mixed integer model.gms Wrong suffix on model - allowable are 1. set by gams after each solve execution cutoff, dictfile, domusd, iterusd, line, modelstat nodusd, number, numequ, numinfes, numnlins numnopt, numnz, numredef, numvar, objest, objval rescalc, resderiv, resgen, resout, resusd solvestat, suminfes, sysident, sysver,tryint 2. model specific run time options - will override global bratio, cheat, domlim, integer1..integer5 iterlim, limcol, limrow, nodlim, optca, optcr prioropt, real1..real5, reform, reslim, scaleopt solprint, solveopt, sysout, threads, workspace 3. others holdfixed, optfile, prioropt, tolinfeas, tolinfrep, tolproj

Any help would be appreciated.

asked 26 Dec '11, 03:12

yoni162's gravatar image

yoni162
3227
accept rate: 0%

retagged 30 Dec '11, 15:19

fbahr's gravatar image

fbahr ♦
4.6k716

1

It's really hard to read the log. Would you please copy & paste the log with it original line breaks?

(26 Dec '11, 10:38) Ehsan ♦
1

I have a technical comment/question about tags. What is their (maximum) level of detail? I understand "gams" (modeling language) "minlp" (domain) and "alphaecp" (solver), but isn't "mipsolstrat" very/too specific?

(26 Dec '11, 16:52) Marco Luebbecke ♦
1

@Marco This may be true... I'm rather "fighting" too broadly chosen tags like 'optimization' or 'problem'. We have CPLEX-related questions tagged with 'getvalues' and 'iloextracable' which is okay with me. Nevertheless, perhaps I went one step too deep into detail here.

(27 Dec '11, 01:05) fbahr ♦
3

My .02 euro (while there still is a euro): software-specific terms, such as "mipsolstrat", should be relegated to the site search feature. Software names ("gams") and generally recognized jargon ("minlp") are fine as tags.

(28 Dec '11, 13:17) Paul Rubin ♦♦

afaik, the line should read:

lehavim.optfile = 1;

see the GAMS documentation, e.g. here:

http://support.gams.com/doku.php?id=solver:the_solver_option_file

link

answered 26 Dec '11, 16:49

Marco%20Luebbecke's gravatar image

Marco Luebbecke ♦
3.4k1615
accept rate: 16%

Thanks, that worked..

(27 Dec '11, 01:26) yoni162

you can "accept" this answer, closes this thread, and gives me rep ;-)

(28 Dec '11, 18:28) Marco Luebbecke ♦
I don't know why in always comes out this way..I paste it as it originally is..

*** Error 113 in C:studysem7ôøåé÷è úëïBTL projectGAMS
onlinear mixed integer model.gms
    Wrong suffix on model - allowable are
    1. set by gams after each solve execution
       cutoff, dictfile, domusd, iterusd, line, modelstat
       nodusd, number, numequ, numinfes, numnlins
       numnopt, numnz, numredef, numvar, objest, objval
       rescalc, resderiv, resgen, resout, resusd
       solvestat, suminfes, sysident, sysver,tryint
    2. model specific run time options - will override global
       bratio, cheat, domlim, integer1..integer5
       iterlim, limcol, limrow, nodlim, optca, optcr
       prioropt, real1..real5, reform, reslim, scaleopt
       solprint, solveopt, sysout, threads, workspace
    3. others
       holdfixed, optfile, prioropt, tolinfeas, tolinfrep, tolproj
link

answered 26 Dec '11, 10:50

yoni162's gravatar image

yoni162
3227
accept rate: 0%

<Your descriptive text here.>

<code> or <pre>

(log | code | whatever) snippet here

</code> or </pre>

Fin.

(26 Dec '11, 14:16) fbahr ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×51
×11
×1

Asked: 26 Dec '11, 03:12

Seen: 2,934 times

Last updated: 30 Dec '11, 15:19

OR-Exchange! Your site for questions, answers, and announcements about operations research.