<!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/dsdpcone_impl.h 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">dsdpcone_impl.h File Reference</div> </div> </div> <div class="contents"> <p>Implementations of a cone (SDP,LP,...) must provide a structure of function pointers. <a href="#details">More...</a></p> <p><a href="dsdpcone__impl_8h_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="dsdpcone__impl_8h.html#ae305676af8ca6fb9340d129b392c0f4d">DSDPAddCone</a> (<a class="el" href="structDSDP__C.html">DSDP</a>, struct DSDPCone_Ops *, void *)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Apply DSDP to a conic structure. <a href="#ae305676af8ca6fb9340d129b392c0f4d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="dsdpcone__impl_8h.html#ac6eb8fe37627410ea4aa4ba94c0badda">DSDPConeOpsInitialize</a> (struct DSDPCone_Ops *)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize the function pointers to 0. <a href="#ac6eb8fe37627410ea4aa4ba94c0badda"></a><br/></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Implementations of a cone (SDP,LP,...) must provide a structure of function pointers. </p> <p>Definition in file <a class="el" href="dsdpcone__impl_8h_source.html">dsdpcone_impl.h</a>.</p> </div><hr/><h2>Function Documentation</h2> <a class="anchor" id="ae305676af8ca6fb9340d129b392c0f4d"></a><!-- doxytag: member="dsdpcone_impl.h::DSDPAddCone" ref="ae305676af8ca6fb9340d129b392c0f4d" args="(DSDP, struct DSDPCone_Ops *, void *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int DSDPAddCone </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">struct DSDPCone_Ops * </td> <td class="paramname"><em>dsdpops</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">void * </td> <td class="paramname"><em>dsdpcone</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Apply DSDP to a conic structure. </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">dsdpops</td><td>address of a structure with function pointers </td></tr> <tr><td class="paramname">dsdpcone</td><td>address of a cone structure DSDP operates on cones such as the semidefinite cone and nonnegative orthant. Given variables y from the solver, each cone implements operations such as computing S, maximum step length, computing the Newton matrix, and computing the Hessian. Each operation is well defined by the dual-scaling algorithm. A cone that implements these operations can be added to the DSDP solver.</td></tr> </table> </dd> </dl> <dl class="see"><dt><b>See also:</b></dt><dd>DSDPCreateSDPCone() </dd> <dd> <a class="el" href="group__LPRoutines.html#ga0d29bfae7b375bfb3bc8ccab769a4003" title="Create a new object for linear programs and scalar inequalities.">DSDPCreateLPCone()</a> </dd> <dd> <a class="el" href="group__Bounds.html#ga66c37f394d6efb45e686aed600015d09" title="Create a new cone that represents bounds on the y variables.">DSDPCreateBCone()</a></dd></dl> <dl class="todo"><dt><b><a class="el" href="todo.html#_todo000001">Todo:</a></b></dt><dd>Add SOCP cone and application-specific cones.</dd></dl> <p>Definition at line <a class="el" href="dsdpcops_8c_source.html#l00569">569</a> of file <a class="el" href="dsdpcops_8c_source.html">dsdpcops.c</a>.</p> <p>Referenced by <a class="el" href="allbounds_8c_source.html#l00549">DSDPAddLUBounds()</a>, <a class="el" href="dsdprescone_8c_source.html#l00302">DSDPAddRCone()</a>, <a class="el" href="sdpkcone_8c_source.html#l00331">DSDPAddSDP()</a>, <a class="el" href="dbounds_8c_source.html#l00467">DSDPCreateBCone()</a>, and <a class="el" href="dsdplp_8c_source.html#l00509">DSDPCreateLPCone()</a>.</p> </div> </div> <a class="anchor" id="ac6eb8fe37627410ea4aa4ba94c0badda"></a><!-- doxytag: member="dsdpcone_impl.h::DSDPConeOpsInitialize" ref="ac6eb8fe37627410ea4aa4ba94c0badda" args="(struct DSDPCone_Ops *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int DSDPConeOpsInitialize </td> <td>(</td> <td class="paramtype">struct DSDPCone_Ops * </td> <td class="paramname"><em>dops</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Initialize the function pointers to 0. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">dops</td><td>address of a structure of function pointers. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="dsdpcone_8c_source.html#l00443">443</a> of file <a class="el" href="dsdpcone_8c_source.html">dsdpcone.c</a>.</p> <p>Referenced by <a class="el" href="dsdpcone_8c_source.html#l00495">DSDPConeInitialize()</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>