Can't get NOMAD to work!

68 views
Skip to first unread message

Bardia Hassanzadeh

unread,
Apr 25, 2014, 2:37:50 AM4/25/14
to yal...@googlegroups.com
Hi, I just installed NOMAD on my system to try it for my case study. My case study is a general NLP and I was able to run it using 'fmincon' and 'ipopt' inside YALMIP, but when I tried NOMAD it prompts the following:

    yalmiptime: NaN
    solvertime: NaN
          info: [1x265 char]
       problem: 9  

I used NOMAD with default settings:

 opts6 = sdpsettings('solver','NOMAD','verbose',2);
 
and I wonder why I get NaN from it since fmincon gives me some answer and I expect NOMAD to give me some answer too. I appreciate any help on this matter. 

Johan Löfberg

unread,
Apr 25, 2014, 2:45:50 AM4/25/14
to yal...@googlegroups.com
Turn on 'debug' in sdpsettings to see what happens when Nomad fails

Bardia Hassanzadeh

unread,
Apr 25, 2014, 2:53:06 AM4/25/14
to yal...@googlegroups.com
It gives me this: 

Error using nomad
It appears you may be calling NOMAD using the OPTI NOMAD Syntax - nomad(fun,x0,lb,ub,nlcon,nlrhs,xtype,opts). This is the GERAD NOMAD
version and requires nomad(bb,x0,lb,ub,opts).

 

Johan Löfberg

unread,
Apr 25, 2014, 2:56:36 AM4/25/14
to yal...@googlegroups.com
YALMIP only supports the Nomad version available in the OPTI Toolbox. You are using some other interface.

Bardia Hassanzadeh

unread,
Apr 25, 2014, 3:01:48 AM4/25/14
to yal...@googlegroups.com
Is it possible to use OPTI NOMAD on linux? I thought OPTI TOOLBOX is only for Windows operating systems, so I ccompiled NOMADon  my matlab interface inside Linux.  

Johan Löfberg

unread,
Apr 25, 2014, 3:02:44 AM4/25/14
to yal...@googlegroups.com
I don't think so.

Johan Löfberg

unread,
Apr 25, 2014, 3:11:46 AM4/25/14
to yal...@googlegroups.com
Looks like the only difference in the interfaces is that Gerards Nomad interface doesn't support nonlinear inequalities and thus has a different input list

Change line 59 in callnomad.m to
[x,fval,exitflag,iter,nfval] = nomad(funcs.objective,model.x0,lb,ub,xtype,opts);

and see if it works

Reply all
Reply to author
Forward
0 new messages