<!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 Source File</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="headertitle"> <div class="title">dsdpcone_impl.h</div> </div> </div> <div class="contents"> <a href="dsdpcone__impl_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef __DSDPCONE_H</span> <a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define __DSDPCONE_H</span> <a name="l00003"></a>00003 <span class="preprocessor"></span> <a name="l00009"></a>00009 <span class="preprocessor">#include "<a class="code" href="dsdpbasictypes_8h.html" title="Solver, solution types, termination codes,.">dsdpbasictypes.h</a>"</span> <a name="l00010"></a>00010 <span class="preprocessor">#include "<a class="code" href="dsdpvec_8h.html" title="Vector operations used by the solver.">dsdpvec.h</a>"</span> <a name="l00011"></a>00011 <span class="preprocessor">#include "<a class="code" href="dsdpschurmat_8h.html" title="Methods of a Schur Matrix.">dsdpschurmat.h</a>"</span> <a name="l00012"></a>00012 <a name="l00013"></a>00013 <span class="keyword">struct </span>DSDPCone_Ops{ <a name="l00014"></a>00014 <span class="keywordtype">int</span> id; <a name="l00015"></a>00015 int (*conesize)(<span class="keywordtype">void</span>*,<span class="keywordtype">double</span>*); <a name="l00016"></a>00016 int (*conesetup)(<span class="keywordtype">void</span>*,<a class="code" href="dsdpvec_8h.html#a421243d35437ad44ded3c1e34198e8e9" title="This object hold m+2 variables: a scaling of C, the y variables, and r.">DSDPVec</a>); <a name="l00017"></a>00017 int (*conesetup2)(<span class="keywordtype">void</span>*,<a class="code" href="dsdpvec_8h.html#a421243d35437ad44ded3c1e34198e8e9" title="This object hold m+2 variables: a scaling of C, the y variables, and r.">DSDPVec</a>,<a class="code" href="dsdpschurmat_8h.html#ad65617ab1159fc5a76619668d80d6b57" title="This object represents the Schur Matrix. Its structure is opaque to the DSDP solver, but it must implement the interface below and provide a structure of function pointers.">DSDPSchurMat</a>); <a name="l00018"></a>00018 int (*conecomputes)(<span class="keywordtype">void</span>*,<a class="code" href="dsdpvec_8h.html#a421243d35437ad44ded3c1e34198e8e9" title="This object hold m+2 variables: a scaling of C, the y variables, and r.">DSDPVec</a>,<a class="code" href="dsdpbasictypes_8h.html#ae47666e7e5d77002110e20ef9ebb634b" title="DSDP requires two instances of the data structures S.">DSDPDualFactorMatrix</a>,<a class="code" href="dsdpbasictypes_8h.html#ae667f2bff3ab5ab0bc109fa76dc4ed65" title="Boolean variables.">DSDPTruth</a>*); <a name="l00019"></a>00019 int (*coneinverts)(<span class="keywordtype">void</span>*); <a name="l00020"></a>00020 int (*conelogpotential)(<span class="keywordtype">void</span>*,<span class="keywordtype">double</span>*,<span class="keywordtype">double</span>*); <a name="l00021"></a>00021 int (*conesetxmaker)(<span class="keywordtype">void</span>*,double,<a class="code" href="dsdpvec_8h.html#a421243d35437ad44ded3c1e34198e8e9" title="This object hold m+2 variables: a scaling of C, the y variables, and r.">DSDPVec</a>,<a class="code" href="dsdpvec_8h.html#a421243d35437ad44ded3c1e34198e8e9" title="This object hold m+2 variables: a scaling of C, the y variables, and r.">DSDPVec</a>); <a name="l00022"></a>00022 int (*conecomputex)(<span class="keywordtype">void</span>*,double,<a class="code" href="dsdpvec_8h.html#a421243d35437ad44ded3c1e34198e8e9" title="This object hold m+2 variables: a scaling of C, the y variables, and r.">DSDPVec</a>,<a class="code" href="dsdpvec_8h.html#a421243d35437ad44ded3c1e34198e8e9" title="This object hold m+2 variables: a scaling of C, the y variables, and r.">DSDPVec</a>,<a class="code" href="dsdpvec_8h.html#a421243d35437ad44ded3c1e34198e8e9" title="This object hold m+2 variables: a scaling of C, the y variables, and r.">DSDPVec</a>,<span class="keywordtype">double</span>*); <a name="l00023"></a>00023 int (*conehessian)(<span class="keywordtype">void</span>*,double,<a class="code" href="dsdpschurmat_8h.html#ad65617ab1159fc5a76619668d80d6b57" title="This object represents the Schur Matrix. Its structure is opaque to the DSDP solver, but it must implement the interface below and provide a structure of function pointers.">DSDPSchurMat</a>,<a class="code" href="dsdpvec_8h.html#a421243d35437ad44ded3c1e34198e8e9" title="This object hold m+2 variables: a scaling of C, the y variables, and r.">DSDPVec</a>,<a class="code" href="dsdpvec_8h.html#a421243d35437ad44ded3c1e34198e8e9" title="This object hold m+2 variables: a scaling of C, the y variables, and r.">DSDPVec</a>); <a name="l00024"></a>00024 int (*conehmultiplyadd)(<span class="keywordtype">void</span>*,double,<a class="code" href="dsdpvec_8h.html#a421243d35437ad44ded3c1e34198e8e9" title="This object hold m+2 variables: a scaling of C, the y variables, and r.">DSDPVec</a>,<a class="code" href="dsdpvec_8h.html#a421243d35437ad44ded3c1e34198e8e9" title="This object hold m+2 variables: a scaling of C, the y variables, and r.">DSDPVec</a>,<a class="code" href="dsdpvec_8h.html#a421243d35437ad44ded3c1e34198e8e9" title="This object hold m+2 variables: a scaling of C, the y variables, and r.">DSDPVec</a>); <a name="l00025"></a>00025 int (*conerhs)(<span class="keywordtype">void</span>*,double,<a class="code" href="dsdpvec_8h.html#a421243d35437ad44ded3c1e34198e8e9" title="This object hold m+2 variables: a scaling of C, the y variables, and r.">DSDPVec</a>,<a class="code" href="dsdpvec_8h.html#a421243d35437ad44ded3c1e34198e8e9" title="This object hold m+2 variables: a scaling of C, the y variables, and r.">DSDPVec</a>,<a class="code" href="dsdpvec_8h.html#a421243d35437ad44ded3c1e34198e8e9" title="This object hold m+2 variables: a scaling of C, the y variables, and r.">DSDPVec</a>); <a name="l00026"></a>00026 int (*conemaxsteplength)(<span class="keywordtype">void</span>*,<a class="code" href="dsdpvec_8h.html#a421243d35437ad44ded3c1e34198e8e9" title="This object hold m+2 variables: a scaling of C, the y variables, and r.">DSDPVec</a>,<a class="code" href="dsdpbasictypes_8h.html#ae47666e7e5d77002110e20ef9ebb634b" title="DSDP requires two instances of the data structures S.">DSDPDualFactorMatrix</a>,<span class="keywordtype">double</span>*); <a name="l00027"></a>00027 int (*coneanorm2)(<span class="keywordtype">void</span>*,<a class="code" href="dsdpvec_8h.html#a421243d35437ad44ded3c1e34198e8e9" title="This object hold m+2 variables: a scaling of C, the y variables, and r.">DSDPVec</a>); <a name="l00028"></a>00028 int (*conesparsity)(<span class="keywordtype">void</span>*,int,<span class="keywordtype">int</span>*,<span class="keywordtype">int</span>[],int); <a name="l00029"></a>00029 int (*conemonitor)(<span class="keywordtype">void</span>*,int); <a name="l00030"></a>00030 int (*conedestroy)(<span class="keywordtype">void</span>*); <a name="l00031"></a>00031 int (*coneview)(<span class="keywordtype">void</span>*); <a name="l00032"></a>00032 <span class="keyword">const</span> <span class="keywordtype">char</span> *name; <a name="l00033"></a>00033 }; <a name="l00034"></a>00034 <a name="l00035"></a>00035 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dsdpcone__impl_8h.html#ae305676af8ca6fb9340d129b392c0f4d" title="Apply DSDP to a conic structure.">DSDPAddCone</a>(<a class="code" href="structDSDP__C.html" title="Internal structures for the DSDP solver.">DSDP</a>,<span class="keyword">struct</span> DSDPCone_Ops*, <span class="keywordtype">void</span>*); <a name="l00036"></a>00036 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dsdpcone_8c.html#ad1e12a500997ab2be6b7e24536017e95" title="Initialize the function pointers to 0.">DSDPConeOpsInitialize</a>(<span class="keyword">struct</span> DSDPCone_Ops*); <a name="l00037"></a>00037 <a name="l00038"></a>00038 <span class="preprocessor">#endif</span> </pre></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>