<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thanks for that! It worked perfectly and you made this week at least
a small success for me ;-). The MATLAB output for examplelasso is
now:<br>
<br>
******************************************************************************<br>
This program contains Ipopt, a library for large-scale nonlinear
optimization.<br>
Ipopt is released as open source code under the Eclipse Public
License (EPL).<br>
For more information visit
<a class="moz-txt-link-freetext" href="http://projects.coin-or.org/Ipopt">http://projects.coin-or.org/Ipopt</a><br>
******************************************************************************<br>
<br>
This is Ipopt version 3.10.1, running with linear solver ma57.<br>
<br>
Number of nonzeros in equality constraint Jacobian...: 0<br>
Number of nonzeros in inequality constraint Jacobian.: 32<br>
Number of nonzeros in Lagrangian Hessian.............: 36<br>
<br>
Total number of variables............................: 16<br>
variables with only lower bounds: 0<br>
variables with lower and upper bounds: 0<br>
variables with only upper bounds: 0<br>
Total number of equality constraints.................: 0<br>
Total number of inequality constraints...............: 16<br>
inequality constraints with only lower bounds: 16<br>
inequality constraints with lower and upper bounds: 0<br>
inequality constraints with only upper bounds: 0<br>
<br>
iter objective inf_pr inf_du lg(mu) ||d|| lg(rg) alpha_du
alpha_pr ls<br>
0 2.0362309e+03 0.00e+00 3.39e+01 0.0 0.00e+00 - 0.00e+00
0.00e+00 0<br>
1 1.2058144e+03 0.00e+00 2.54e+01 -6.0 3.86e+00 - 2.12e-01
2.56e-01f 1<br>
2 7.1857478e+01 0.00e+00 5.91e-01 0.1 7.22e+00 - 7.18e-01
1.00e+00f 1<br>
3 6.7127651e+01 0.00e+00 6.28e-07 -1.2 7.90e-01 - 1.00e+00
1.00e+00f 1<br>
4 5.6437844e+01 0.00e+00 2.21e-03 -2.0 1.86e+00 - 1.00e+00
9.53e-01f 1<br>
5 5.5727100e+01 0.00e+00 3.43e-03 -7.8 1.88e-01 - 9.91e-01
8.26e-01f 1<br>
6 5.5643835e+01 0.00e+00 1.31e-02 -4.4 3.30e-02 - 1.00e+00
7.77e-01f 1<br>
7 5.5629288e+01 0.00e+00 5.37e-03 -5.1 1.07e-02 - 1.00e+00
8.69e-01f 1<br>
8 5.5626581e+01 0.00e+00 7.28e-05 -6.2 5.04e-03 - 1.00e+00
9.97e-01f 1<br>
9 5.5626338e+01 0.00e+00 1.02e-12 -7.0 1.46e-03 - 1.00e+00
1.00e+00f 1<br>
iter objective inf_pr inf_du lg(mu) ||d|| lg(rg) alpha_du
alpha_pr ls<br>
10 5.5626323e+01 0.00e+00 5.04e-06 -11.0 2.14e-04 - 1.00e+00
9.95e-01f 1<br>
11 5.5626323e+01 0.00e+00 3.14e-15 -11.0 5.81e-06 - 1.00e+00
1.00e+00h 1<br>
<br>
Number of Iterations....: 11<br>
<br>
(scaled)
(unscaled)<br>
Objective...............: 1.0812288368600216e+01
5.5626323096279428e+01<br>
Dual infeasibility......: 3.1363800445660672e-15
1.6135833947827088e-14<br>
Constraint violation....: 0.0000000000000000e+00
0.0000000000000000e+00<br>
Complementarity.........: 1.4262828910720418e-10
7.3378428525709309e-10<br>
Overall NLP error.......: 1.4262828910720418e-10
7.3378428525709309e-10<br>
<br>
<br>
Number of objective function evaluations = 12<br>
Number of objective gradient evaluations = 12<br>
Number of equality constraint evaluations = 0<br>
Number of inequality constraint evaluations = 12<br>
Number of equality constraint Jacobian evaluations = 0<br>
Number of inequality constraint Jacobian evaluations = 1<br>
Number of Lagrangian Hessian evaluations = 1<br>
Total CPU secs in IPOPT (w/o function evaluations) = 0.053<br>
Total CPU secs in NLP function evaluations = 0.020<br>
<br>
EXIT: Optimal Solution Found.<br>
Solution:<br>
0.0320<br>
0.0047<br>
1.9496<br>
-4.0713<br>
-0.0060<br>
0.0000<br>
-0.7854<br>
3.0662<br>
On 08.02.12 18:03, Ray Zimmerman wrote:
<blockquote
cite="mid:B49FB271-DA2C-42CF-94B8-6A607FA92020@cornell.edu"
type="cite">Looks like it is trying to dynamically link to ...
<div><br>
</div>
<div>
<div bgcolor="#FFFFFF" text="#000000"> libipopt.1.dylib<br>
libcoinhsl.1.dylib<br>
libcoinmetis.1.dylib<br>
</div>
</div>
<div><br>
</div>
<div>... when it should be statically linking to them. In fact,
these files shouldn't even exist ... maybe they are still around
from a previous build?</div>
<div><br>
</div>
<div>Try deleting those libraries (or starting with a clean Ipopt
build directory) and rebuilding Ipopt and the MEX file, then
hopefully it will link to the static files and Matlab will be
able to load everything it needs to run properly.</div>
<div><br>
</div>
<div>
<span class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: Helvetica; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; font-size: medium; "><span class="Apple-style-span"
style="border-collapse: separate; color: rgb(0, 0, 0);
font-family: Helvetica; font-size: medium; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space; "><span
class="Apple-style-span" style="border-collapse:
separate; -webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px; color: rgb(0, 0,
0); font-family: Helvetica; font-size: 12px; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal;
-webkit-text-decorations-in-effect: none; text-indent:
0px; -webkit-text-size-adjust: auto; text-transform:
none; orphans: 2; white-space: normal; widows: 2;
word-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode:
space; -webkit-line-break: after-white-space; "><span
class="Apple-style-span" style="border-collapse:
separate; -webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px; color: rgb(0,
0, 0); font-family: Helvetica; font-size: 12px;
font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal;
line-height: normal;
-webkit-text-decorations-in-effect: none;
text-indent: 0px; -webkit-text-size-adjust: auto;
text-transform: none; orphans: 2; white-space:
normal; widows: 2; word-spacing: 0px; ">
<div>-- </div>
<div>Ray Zimmerman</div>
<div>Senior Research Associate</div>
<div>419A Warren Hall, Cornell University, Ithaca,
NY 14853</div>
<div>phone: (607) 255-9645</div>
<br class="Apple-interchange-newline">
</span></div>
</span></div>
</span><br class="Apple-interchange-newline">
</span><br class="Apple-interchange-newline">
</div>
<br>
<div>
<div>On Feb 8, 2012, at 10:55 AM, Marco Rozgic wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000"> Hello.<br>
<br>
<br>
On 08.02.12 16:43, Ray Zimmerman wrote:
<blockquote
cite="mid:50233890-A080-4D12-AB09-C09C352C22BB@cornell.edu"
type="cite">1. Double-check the MATLAB is trying to load
the MEX file you just created by typing at the Matlab
prompt: which ipopt</blockquote>
This gives:<br>
>> which ipopt<br>
/Users/marcorozgic/Documents/MATLAB/ipopt.mexmaci64<br>
<blockquote
cite="mid:50233890-A080-4D12-AB09-C09C352C22BB@cornell.edu"
type="cite">
<div>2. See what libraries it is linked to by typing in
the Terminal: otool -L ipopt.mexmaci64<br>
</div>
</blockquote>
This gives:<br>
otool -L ~/Documents/MATLAB/ipopt.mexmaci64<br>
/Users/marcorozgic/Documents/MATLAB/ipopt.mexmaci64:<br>
/System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
(compatibility version 1.0.0, current version 268.0.1)<br>
/Users/marcorozgic/Documents/HSU/Optimierung/Ipopt-3.10.1/build64/lib/libipopt.1.dylib
(compatibility version 10.0.0, current version 10.1.0)<br>
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
current version 125.2.11)<br>
/Users/marcorozgic/Documents/HSU/Optimierung/Ipopt-3.10.1/build64/lib/libcoinhsl.1.dylib
(compatibility version 5.0.0, current version 5.1.0)<br>
/Users/marcorozgic/Documents/HSU/Optimierung/Ipopt-3.10.1/build64/lib/libcoinmetis.1.dylib
(compatibility version 4.0.0, current version 4.1.0)<br>
@rpath/libmx.dylib (compatibility version 0.0.0, current
version 0.0.0)<br>
@rpath/libmex.dylib (compatibility version 0.0.0,
current version 0.0.0)<br>
@rpath/libmat.dylib (compatibility version 0.0.0,
current version 0.0.0)<br>
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0,
current version 7.9.0)<br>
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0,
current version 830.0.0)<br>
<br>
Executing otool -L ipopt.mexmaci64 in any other directory
gives the 'file or directory not found' message.<br>
<br>
Best,<br>
Marco<br>
<blockquote
cite="mid:50233890-A080-4D12-AB09-C09C352C22BB@cornell.edu"
type="cite">
<div>
<div><br>
</div>
</div>
<div> <span class="Apple-style-span"
style="border-collapse: separate; font-family:
Helvetica; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-align:
-webkit-auto; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; font-size: medium; "><span
class="Apple-style-span" style="border-collapse:
separate; font-family: Helvetica; font-size: medium;
font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-indent: 0px;
text-transform: none; white-space: normal; widows:
2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; ">
<div style="word-wrap: break-word;
-webkit-nbsp-mode: space; -webkit-line-break:
after-white-space; "><span
class="Apple-style-span" style="border-collapse:
separate; -webkit-border-horizontal-spacing:
0px; -webkit-border-vertical-spacing: 0px;
font-family: Helvetica; font-size: 12px;
font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal;
line-height: normal;
-webkit-text-decorations-in-effect: none;
text-indent: 0px; -webkit-text-size-adjust:
auto; text-transform: none; orphans: 2;
white-space: normal; widows: 2; word-spacing:
0px; ">
<div style="word-wrap: break-word;
-webkit-nbsp-mode: space; -webkit-line-break:
after-white-space; "><span
class="Apple-style-span"
style="border-collapse: separate;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
font-family: Helvetica; font-size: 12px;
font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal;
line-height: normal;
-webkit-text-decorations-in-effect: none;
text-indent: 0px; -webkit-text-size-adjust:
auto; text-transform: none; orphans: 2;
white-space: normal; widows: 2;
word-spacing: 0px; ">
<div>-- </div>
<div>Ray Zimmerman</div>
<div>Senior Research Associate</div>
<div>419A Warren Hall, Cornell University,
Ithaca, NY 14853</div>
<div>phone: (607) 255-9645</div>
<br class="Apple-interchange-newline">
</span></div>
</span></div>
</span><br class="Apple-interchange-newline">
</span><br class="Apple-interchange-newline">
</div>
<br>
<div>
<div>On Feb 7, 2012, at 2:26 AM, Marco Rozgic wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div><snip></div>
</blockquote>
<br>
<blockquote type="cite">
<div>Fatou:src marcorozgic$ cp ipopt.mexmaci64
~/Documents/MATLAB/<br>
<br>
This is why I assume that this worked. After doing
this I want to try if IPOPT works in MATLAB. For
this purpose I try running examplelasso in in
/contrib/MatlabInterface/examples. As soon as I
arrive the line<br>
[x info] = ipopt(x0,funcs,options);<br>
<br>
MATLAB crashes without further error messages. Does
anybody has any suggestion what to try next?<br>
Best,<br>
Marco Rozgic<br>
</div>
</blockquote>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Ipopt mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/ipopt">http://list.coin-or.org/mailman/listinfo/ipopt</a>
</pre>
</blockquote>
<br>
</div>
_______________________________________________<br>
Ipopt mailing list<br>
<a moz-do-not-send="true" href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a><br>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/ipopt">http://list.coin-or.org/mailman/listinfo/ipopt</a><br>
</blockquote>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Ipopt mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/ipopt">http://list.coin-or.org/mailman/listinfo/ipopt</a>
</pre>
</blockquote>
<br>
</body>
</html>