📄 faq.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<title>YALMIP FAQ</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<meta content="Microsoft FrontPage 6.0" name="GENERATOR">
<meta name="ProgId" content="FrontPage.Editor.Document">
<link href="yalmip.css" type="text/css" rel="stylesheet">
<base target="_self">
</head>
<body leftMargin="0" topMargin="0">
<div align="left">
<table border="0" cellpadding="4" cellspacing="3" style="border-collapse: collapse" bordercolor="#000000" width="100%" align="left" height="100%">
<tr>
<td width="100%" align="left" height="100%" valign="top">
<h2 style="margin-top: 0; margin-bottom: 0">Frequently asked question</h2>
<hr noShade SIZE="1">
<p style="margin-bottom: 0; margin-top:0"> </p>
<h3 style="margin-bottom: 0; margin-top:0">Installation</h3>
<ul>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#nothing works">YALMIP
does not work.</a></p></li>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#slow">
<font color="#FF0000">It is so slow!</font></a></p></li>
</ul>
<h3 style="margin-bottom: 0; margin-top:0">Solvers</h3>
<ul>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#nosolver">YALMIP
cannot find any solver</a></p></li>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#penbmi update">My version of
PENBMI does not work with
YALMIP anymore</a></p></li>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#compile sdpt">My version of
SDPT3-3.02 does not work with
YALMIP anymore</a></p></li>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#sedumisdpt3">SDPT3 (or
SeDuMi) does not work</a></p></li>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#csdppath">CSDP does not work</a></p>
</li>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#csdpcrash">CSDP
runs but crashes</a></p></li>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#lmilabalready">I already have
LMILAB and LINPROG
installed, do I need any other solver?</a></p></li>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#lmilabslow">LMILAB
is slower when I use it with YALMIP</a></p></li>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#cddhangs">CDD hangs</a></p>
</li>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#fminconcrashes">fmincon
crashes</a></p>
</li>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#maxdetcrashes">MAXDET fails or crashes</a></p>
</li>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#xpress">XPRESS
performs badly, claims infeasibility etc.</a></p></li>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#selectsolver">There are so many solvers, which
one should I use?</a></p></li>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#infeasible">The solution I get in an SDP is not
feasible but has eigenvalues around, say, -1e-6</a></p></li>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#bmi">Can I solve BMIs without
PENBMI?</a></p></li>
</ul>
<h3 style="margin-bottom: 0; margin-top:0">YALMIP</h3>
<ul>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#typeset">Typing <code>help set</code> gives
me no information on the YALMIP function <code>set</code>.</a></p></li>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#setclass">Is there really a <code>set</code> class?</a></p>
</li>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#normalset">Is <code>set</code> related to
the "normal" set command in MATLAB.</a></p></li>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#lmielement">I define a
semidefinite constraint, but YALMIP declares it "element-wise".</a></p></li>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#reallystrict">Are inequalities really
strict?</a></p></li>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#subasgn">Why can I not write
<code>X =
eye(2); X(1,1)=sdpvar(1,1)</code>?</a></p></li>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#gevp">How do I
solve generalized eigenvalue problems (like <code>gevp</code> in LMILAB)?</a></p>
</li>
</ul>
<h3 style="margin-bottom: 0; margin-top:0">Other</h3>
<ul>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#foundbug">I have found a bug. What to do?</a></p>
</li>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#feature">I have an idea for a new feature.
What to do?</a></p></li>
<li>
<p style="margin-bottom: 0; margin-top:0"><a href="#yalmipmeans">What does YALMIP mean?</a></p>
</li>
</ul>
<hr noShade SIZE="1" color="#FF0000">
<p style="margin-top: 0; margin-bottom: 0"> </p>
<table border="0" cellpadding="0" style="border-collapse: collapse" width="100%">
<tr>
<td width="26" valign="top" class="AQ">
<p style="margin-bottom: 0; margin-top:0"><b><font color="#0000FF">
<a name="nothing works"></a>Q:</font></b></td>
<td>
<p style="margin-bottom: 0; margin-top:0"><b>I have been using a previous version
of YALMIP, but after installing the new version nothing works.</b></td>
</tr>
<tr>
<td width="26" valign="top" class="AQ">
<p style="margin-bottom: 0; margin-top:0"><font color="#0000FF"><b>A</b></font><b><font color="#0000FF">:</font></b></td>
<td>
<p style="margin-bottom: 0; margin-top:0">Restart MATLAB.</td>
</tr>
</table>
<p style="margin-bottom: 0; margin-top:0"> </p>
<table border="0" cellpadding="0" style="border-collapse: collapse" width="100%">
<tr>
<td width="26" valign="top">
<p style="margin-bottom: 0; margin-top:0"><b><font color="#0000FF">
<a name="remove old"></a>Q:</font></b></td>
<td>
<p style="margin-bottom: 0; margin-top:0"><b>..still doesn't work!</b></td>
</tr>
<tr>
<td width="26" valign="top">
<p style="margin-bottom: 0; margin-top:0"><font color="#0000FF"><b>A</b></font><b><font color="#0000FF">:</font></b></td>
<td>
<p style="margin-bottom: 0; margin-top:0">Remove any old version of
YALMIP before you install the new version. Do not just copy the new
version into the old YALMIP directory.</td>
</tr>
</table>
<p style="margin-bottom: 0; margin-top:0"> </p>
<table border="0" cellpadding="0" style="border-collapse: collapse" width="100%">
<tr>
<td width="26" valign="top">
<p style="margin-bottom: 0; margin-top:0"><b><font color="#0000FF">
<a name="add path"></a>Q:</font></b></td>
<td>
<p style="margin-bottom: 0; margin-top:0"><b>..still doesn't work!</b></td>
</tr>
<tr>
<td width="26" valign="top">
<p style="margin-bottom: 0; margin-top:0"><font color="#0000FF"><b>A</b></font><b><font color="#0000FF">:</font></b></td>
<td>
<p style="margin-bottom: 0; margin-top:0">Added all the paths? (<i>/yalmip</i>,
<i>/yalmip/extras, /yalmip/demos, /yalmip/solvers</i>)</td>
</tr>
</table>
<p style="margin-bottom: 0; margin-top:0"> </p>
<table border="0" cellpadding="0" style="border-collapse: collapse" width="100%">
<tr>
<td width="26" valign="top">
<p style="margin-bottom: 0; margin-top:0"><b><font color="#0000FF">
<a name="add path0"></a>Q:</font></b></td>
<td>
<p style="margin-bottom: 0; margin-top:0"><b>..still doesn't work!</b></td>
</tr>
<tr>
<td width="26" valign="top">
<p style="margin-bottom: 0; margin-top:0"><font color="#0000FF"><b>A</b></font><b><font color="#0000FF">:</font></b></td>
<td>
<p style="margin-bottom: 0; margin-top:0">Are you sure you added all the paths! (<i>/yalmip</i>,
<i>/yalmip/extras, /yalmip/demos, /yalmip/solvers</i>)</td>
</tr>
</table>
<p style="margin-bottom: 0; margin-top:0"> </p>
<table border="0" cellpadding="0" style="border-collapse: collapse" width="100%" id="table3">
<tr>
<td width="26" valign="top">
<p style="margin-bottom: 0; margin-top:0"><b><font color="#0000FF">
<a name="add path1"></a>Q:</font></b></td>
<td>
<p style="margin-bottom: 0; margin-top:0"><b>..still doesn't work!</b></td>
</tr>
<tr>
<td width="26" valign="top">
<p style="margin-bottom: 0; margin-top:0"><font color="#0000FF"><b>A</b></font><b><font color="#0000FF">:</font></b></td>
<td>
<p style="margin-bottom: 0; margin-top:0">Could be related to toolbox
path caching (open menu File/Preferences/General and run "Update Toolbox
Path Cache")</td>
</tr>
</table>
<p style="margin-bottom: 0; margin-top:0"> </p>
<table border="0" cellpadding="0" style="border-collapse: collapse" width="100%">
<tr>
<td width="26" valign="top">
<p style="margin-bottom: 0; margin-top:0"><b><font color="#0000FF">
<a name="remove path"></a>Q:</font></b></td>
<td>
<p style="margin-bottom: 0; margin-top:0"><b>..still doesn't work!</b></td>
</tr>
<tr>
<td width="26" valign="top">
<p style="margin-bottom: 0; margin-top:0"><font color="#0000FF"><b>A</b></font><b><font color="#0000FF">:</font></b></td>
<td>
<p style="margin-bottom: 0; margin-top:0">Removed your old YALMIP
version from the MATLAB path?</td>
</tr>
</table>
<p style="margin-bottom: 0; margin-top:0"> </p>
<table border="0" cellpadding="0" style="border-collapse: collapse" width="100%">
<tr>
<td width="26" valign="top">
<p style="margin-bottom: 0; margin-top:0"><b><font color="#0000FF">
<a name="added solver path"></a>Q:</font></b></td>
<td>
<p style="margin-bottom: 0; margin-top:0"><b>..still doesn't work!</b></td>
</tr>
<tr>
<td width="26" valign="top">
<p style="margin-bottom: 0; margin-top:0"><font color="#0000FF"><b>A</b></font><b><font color="#0000FF">:</font></b></td>
<td>
<p style="margin-bottom: 0; margin-top:0">Added all the paths to your solver?</td>
</tr>
</table>
<p style="margin-bottom: 0; margin-top:0"> </p>
<table border="0" cellpadding="0" style="border-collapse: collapse" width="100%">
<tr>
<td width="26" valign="top">
<p style="margin-bottom: 0; margin-top:0"><b><font color="#0000FF">
<a name="compile solver1"></a>Q:</font></b></td>
<td>
<p style="margin-bottom: 0; margin-top:0"><b>...still doesn't work!</b></td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -