<!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/lp/dsdplp.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_f1380323fde14d4571790a39f4bd6fad.html">lp</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">dsdplp.c File Reference</div> </div> </div> <div class="contents"> <p>Set linear inequalities in (D) and implement the DSDPCone operations. <a href="#details">More...</a></p> <p><a href="dsdplp_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__LPRoutines.html#ga0d29bfae7b375bfb3bc8ccab769a4003">DSDPCreateLPCone</a> (<a class="el" href="structDSDP__C.html">DSDP</a> dsdp, <a class="el" href="dsdp5_8h.html#ab974b47d582ebca94a1486e5bb0cdd18">LPCone</a> *dspcone)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new object for linear programs and scalar inequalities. <a href="group__LPRoutines.html#ga0d29bfae7b375bfb3bc8ccab769a4003"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__LPRoutines.html#gae8b986e2ffe6accd28f82f8fd7571287">LPConeCopyS</a> (<a class="el" href="dsdp5_8h.html#ab974b47d582ebca94a1486e5bb0cdd18">LPCone</a> lpcone, double s[], int n)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Copy the variables s into the spedified array. <a href="group__LPRoutines.html#gae8b986e2ffe6accd28f82f8fd7571287"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="dsdplp_8c.html#a3a3ba3a5a4bb6ed5cec6e2ff424436c1">LPConeGetData</a> (<a class="el" href="dsdp5_8h.html#ab974b47d582ebca94a1486e5bb0cdd18">LPCone</a> lpcone, int vari, double vv[], int n)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get one column (or row) of the LP data. <a href="#a3a3ba3a5a4bb6ed5cec6e2ff424436c1"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__LPRoutines.html#gaf67de731657b5f9eedb51ba2de2d0eb6">LPConeGetDimension</a> (<a class="el" href="dsdp5_8h.html#ab974b47d582ebca94a1486e5bb0cdd18">LPCone</a> lpcone, int *n)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the dimension is the number of variables x, which equals the number of slack variables s. <a href="group__LPRoutines.html#gaf67de731657b5f9eedb51ba2de2d0eb6"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__LPRoutines.html#ga397a75ac119afb25a2aea1b583de789d">LPConeGetXArray</a> (<a class="el" href="dsdp5_8h.html#ab974b47d582ebca94a1486e5bb0cdd18">LPCone</a> lpcone, double *x[], int *n)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the array used to store the x variables. <a href="group__LPRoutines.html#ga397a75ac119afb25a2aea1b583de789d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__LPRoutines.html#gad0de1037f6c6d599c94d9b3c54a5b890">LPConeSetData</a> (<a class="el" href="dsdp5_8h.html#ab974b47d582ebca94a1486e5bb0cdd18">LPCone</a> lpcone, int n, const int ik[], const int cols[], const double vals[])</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set data into the LP cone. <a href="group__LPRoutines.html#gad0de1037f6c6d599c94d9b3c54a5b890"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__LPRoutines.html#gafe6d7646a6508238ee9d956c4693efd3">LPConeSetData2</a> (<a class="el" href="dsdp5_8h.html#ab974b47d582ebca94a1486e5bb0cdd18">LPCone</a> lpcone, int n, const int ik[], const int cols[], const double vals[])</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set data A and into the LP cone. <a href="group__LPRoutines.html#gafe6d7646a6508238ee9d956c4693efd3"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__LPRoutines.html#ga9eff46728f001c00a0fb6ef11a5f7813">LPConeView</a> (<a class="el" href="dsdp5_8h.html#ab974b47d582ebca94a1486e5bb0cdd18">LPCone</a> lpcone)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Print the data in the LP cone to the screen. <a href="group__LPRoutines.html#ga9eff46728f001c00a0fb6ef11a5f7813"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__LPRoutines.html#ga68f95f33e6eea33133c5d4f31e85187c">LPConeView2</a> (<a class="el" href="dsdp5_8h.html#ab974b47d582ebca94a1486e5bb0cdd18">LPCone</a> lpcone)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Print the data in the LP cone to the screen. <a href="group__LPRoutines.html#ga68f95f33e6eea33133c5d4f31e85187c"></a><br/></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Set linear inequalities in (D) and implement the DSDPCone operations. </p> <p>Definition in file <a class="el" href="dsdplp_8c_source.html">dsdplp.c</a>.</p> </div><hr/><h2>Function Documentation</h2> <a class="anchor" id="a3a3ba3a5a4bb6ed5cec6e2ff424436c1"></a><!-- doxytag: member="dsdplp.c::LPConeGetData" ref="a3a3ba3a5a4bb6ed5cec6e2ff424436c1" args="(LPCone lpcone, int vari, double vv[], int n)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int LPConeGetData </td> <td>(</td> <td class="paramtype"><a class="el" href="dsdp5_8h.html#ab974b47d582ebca94a1486e5bb0cdd18">LPCone</a> </td> <td class="paramname"><em>lpcone</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>vari</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>vv</em>[], </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>n</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Get one column (or row) of the LP data. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">lpcone</td><td>LP cone </td></tr> <tr><td class="paramname">vari</td><td>column of data in (D) or row of data in (P). </td></tr> <tr><td class="paramname">vv</td><td>array of data </td></tr> <tr><td class="paramname">n</td><td>length of array and conic dimension </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="dsdplp_8c_source.html#l00783">783</a> of file <a class="el" href="dsdplp_8c_source.html">dsdplp.c</a>.</p> <p>Referenced by <a class="el" href="printsdpa_8c_source.html#l00164">DSDPPrintData()</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>