<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>DSDP: src/solver/dsdpx.c File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.4 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">DSDP</div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_23046874d7fed141927c769a66d8e3a5.html">src</a> </li> <li class="navelem"><a class="el" href="dir_03c647d51c93e018646ff83aa2eeb169.html">solver</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">dsdpx.c File Reference</div> </div> </div> <div class="contents"> <p>X variables, tolerances, errors, and feasibility. <a href="#details">More...</a></p> <p><a href="dsdpx_8c_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__DSDPBasic.html#gacd271769549030ce365597101946220b">DSDPComputeX</a> (<a class="el" href="structDSDP__C.html">DSDP</a> dsdp)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Compute the X variables. <a href="group__DSDPBasic.html#gacd271769549030ce365597101946220b"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__DSDPSolver.html#ga79f8ff912fa519dea6ad93f06518b544">DSDPGetDYMakeX</a> (<a class="el" href="structDSDP__C.html">DSDP</a> dsdp, double dy[], int m)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Copies the variables dy used to construct X into an array. <a href="group__DSDPSolver.html#ga79f8ff912fa519dea6ad93f06518b544"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__DSDPSolution.html#ga563ea95890673182c1de4252cf3e5309">DSDPGetFinalErrors</a> (<a class="el" href="structDSDP__C.html">DSDP</a> dsdp, double err[6])</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Copy six different error measurements into an array. <a href="group__DSDPSolution.html#ga563ea95890673182c1de4252cf3e5309"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__DSDPSolver.html#ga44ba54bc182256482af4ca016c60e435">DSDPGetMuMakeX</a> (<a class="el" href="structDSDP__C.html">DSDP</a> dsdp, double *mu)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Copies the value of mu used to construct X. <a href="group__DSDPSolver.html#ga44ba54bc182256482af4ca016c60e435"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__DSDPConverge.html#ga88aa3c65b2eb3699f6c2d203c3f11963">DSDPGetPInfeasibility</a> (<a class="el" href="structDSDP__C.html">DSDP</a> dsdp, double *pperror)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Copy the infeasibility in (P). <a href="group__DSDPConverge.html#ga88aa3c65b2eb3699f6c2d203c3f11963"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__DSDPSolution.html#ga0126bd2c9da5d8a7ca0806bd8dd8e56f">DSDPGetPObjective</a> (<a class="el" href="structDSDP__C.html">DSDP</a> dsdp, double *pobj)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Copy the objective value (P). <a href="group__DSDPSolution.html#ga0126bd2c9da5d8a7ca0806bd8dd8e56f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__DSDPConverge.html#ga8c3bf97d823880a151321f7c7c43aaf8">DSDPGetPTolerance</a> (<a class="el" href="structDSDP__C.html">DSDP</a> dsdp, double *inftol)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Copy the feasibility tolerance. <a href="group__DSDPConverge.html#ga8c3bf97d823880a151321f7c7c43aaf8"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__DSDPConverge.html#ga48cc08979850c048b38d7f1fd423deec">DSDPGetRTolerance</a> (<a class="el" href="structDSDP__C.html">DSDP</a> dsdp, double *inftol)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Copy the maximum infeasibility allowed (D). <a href="group__DSDPConverge.html#ga48cc08979850c048b38d7f1fd423deec"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__DSDPBasic.html#ga33e05559ab15ea40b1e9b31ecc206b3e">DSDPGetSolutionType</a> (<a class="el" href="structDSDP__C.html">DSDP</a> dsdp, <a class="el" href="dsdpbasictypes_8h.html#a7c124046b4ddae3d637157242af2df90">DSDPSolutionType</a> *pdfeasible)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Solutions can be bounded, infeasible, or unbounded. <a href="group__DSDPBasic.html#ga33e05559ab15ea40b1e9b31ecc206b3e"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__DSDPSolution.html#ga2580bcdac912b6477f067a8ccbc801bc">DSDPGetTraceX</a> (<a class="el" href="structDSDP__C.html">DSDP</a> dsdp, double *tracex)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Copy the trace of the variables X in (P). <a href="group__DSDPSolution.html#ga2580bcdac912b6477f067a8ccbc801bc"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__DSDPSolver.html#gaedd5042b277efcd2774898fbf3bdd860">DSDPGetYMakeX</a> (<a class="el" href="structDSDP__C.html">DSDP</a> dsdp, double y[], int m)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Copies the variables y used to construct X into an array. <a href="group__DSDPSolver.html#gaedd5042b277efcd2774898fbf3bdd860"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="dsdpx_8c.html#a0ca67c8b05fac8e7c8b32340dd435b81">DSDPSaveYForX</a> (<a class="el" href="structDSDP__C.html">DSDP</a> dsdp, double mu, double pstep)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Save the current solution for later computation of X. <a href="#a0ca67c8b05fac8e7c8b32340dd435b81"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__DSDPConverge.html#gad0a3f0df89bd8b3e4b7fb1f6c738d330">DSDPSetPTolerance</a> (<a class="el" href="structDSDP__C.html">DSDP</a> dsdp, double inftol)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Classify (P) as feasible only if the infeasibility is less than this tolerance. <a href="group__DSDPConverge.html#gad0a3f0df89bd8b3e4b7fb1f6c738d330"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__DSDPConverge.html#ga8fa9a4a362aaa64e12538a55f215e8ce">DSDPSetRTolerance</a> (<a class="el" href="structDSDP__C.html">DSDP</a> dsdp, double inftol)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Classify (D) as feasible only if the variable r is less than this tolerance. <a href="group__DSDPConverge.html#ga8fa9a4a362aaa64e12538a55f215e8ce"></a><br/></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>X variables, tolerances, errors, and feasibility. </p> <p>Definition in file <a class="el" href="dsdpx_8c_source.html">dsdpx.c</a>.</p> </div><hr/><h2>Function Documentation</h2> <a class="anchor" id="a0ca67c8b05fac8e7c8b32340dd435b81"></a><!-- doxytag: member="dsdpx.c::DSDPSaveYForX" ref="a0ca67c8b05fac8e7c8b32340dd435b81" args="(DSDP dsdp, double mu, double pstep)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int DSDPSaveYForX </td> <td>(</td> <td class="paramtype"><a class="el" href="structDSDP__C.html">DSDP</a> </td> <td class="paramname"><em>dsdp</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>mu</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>pstep</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Save the current solution for later computation of X. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">dsdp</td><td>the solver </td></tr> <tr><td class="paramname">mu</td><td>barrier function </td></tr> <tr><td class="paramname">pstep</td><td>primal step length, hopefully equals 1 </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="dsdpx_8c_source.html#l00149">149</a> of file <a class="el" href="dsdpx_8c_source.html">dsdpx.c</a>.</p> <p>Referenced by <a class="el" href="dualalg_8c_source.html#l00240">DSDPChooseBarrierParameter()</a>, <a class="el" href="dualalg_8c_source.html#l00475">DSDPInitializeVariables()</a>, and <a class="el" href="dualalg_8c_source.html#l00121">DSDPSolveDynamicRho()</a>.</p> </div> </div> </div> <hr class="footer"/><address class="footer"><small>Generated on Wed Jun 8 2011 for DSDP by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>