This file is indexed.

/usr/share/doc/coinor-libosi-doc/html/_osi_row_cut_debugger_8hpp_source.html is in coinor-libosi-doc 0.103.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!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>/build/buildd/coinor-osi-0.103.0/Osi/src/OsiRowCutDebugger.hpp 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.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>/build/buildd/coinor-osi-0.103.0/Osi/src/OsiRowCutDebugger.hpp</h1>  </div>
</div>
<div class="contents">
<a href="_osi_row_cut_debugger_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// Copyright (C) 2000, International Business Machines</span>
<a name="l00002"></a>00002 <span class="comment">// Corporation and others.  All Rights Reserved.</span>
<a name="l00003"></a>00003 <span class="preprocessor">#ifndef OsiRowCutDebugger_H</span>
<a name="l00004"></a>00004 <span class="preprocessor"></span><span class="preprocessor">#define OsiRowCutDebugger_H</span>
<a name="l00005"></a>00005 <span class="preprocessor"></span>
<a name="l00006"></a>00006 <span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00007"></a>00007 
<a name="l00008"></a>00008 <span class="preprocessor">#include &quot;<a class="code" href="_osi_cuts_8hpp.html">OsiCuts.hpp</a>&quot;</span>
<a name="l00009"></a>00009 <span class="preprocessor">#include &quot;<a class="code" href="_osi_solver_interface_8hpp.html">OsiSolverInterface.hpp</a>&quot;</span>
<a name="l00010"></a>00010 
<a name="l00012"></a><a class="code" href="class_osi_row_cut_debugger.html">00012</a> <span class="keyword">class </span><a class="code" href="class_osi_row_cut_debugger.html" title="Validate Row Cut Generator.">OsiRowCutDebugger</a> {
<a name="l00013"></a>00013   <span class="keyword">friend</span> <span class="keywordtype">void</span> <a class="code" href="class_osi_row_cut_debugger.html#acc149ef7d160e813359a1f3536e240bb" title="A function that tests the methods in the OsiRowCut class.">OsiRowCutDebuggerUnitTest</a>(<span class="keyword">const</span> <a class="code" href="class_osi_solver_interface.html" title="Solver Interface Abstract Base Class.">OsiSolverInterface</a> * siP,    
<a name="l00014"></a>00014                                         <span class="keyword">const</span> std::string &amp; mpsDir);
<a name="l00015"></a>00015 
<a name="l00016"></a>00016 <span class="keyword">public</span>:
<a name="l00017"></a>00017   
<a name="l00030"></a>00030   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_osi_row_cut_debugger.html#abb5ccf22d285b8c8e389c60310c783c7" title="If we are on the path to the optimal integer solution then check if any generated cuts cut off the op...">validateCuts</a>(<span class="keyword">const</span> <a class="code" href="class_osi_cuts.html" title="Collections of row cuts and column cuts.">OsiCuts</a> &amp; cs, <span class="keywordtype">int</span> first, <span class="keywordtype">int</span> last) <span class="keyword">const</span>;
<a name="l00031"></a>00031 
<a name="l00033"></a><a class="code" href="class_osi_row_cut_debugger.html#a8322c290f6d1e8c7af543aead629a425">00033</a>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_osi_row_cut_debugger.html#a303458c73cadf5d0555edfc9565d0fff" title="check one cut. Return true if cut is invalid">invalidCut</a>(<span class="keyword">const</span> <a class="code" href="class_osi_row_cut.html" title="Row Cut Class.">OsiRowCut</a> &amp; rowcut) <span class="keyword">const</span>;
<a name="l00034"></a>00034 
<a name="l00036"></a>00036   <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">double</span> * <a class="code" href="class_osi_row_cut_debugger.html#a8322c290f6d1e8c7af543aead629a425" title="Return optimal solution.">optimalSolution</a>()<span class="keyword"> const</span>
<a name="l00037"></a><a class="code" href="class_osi_row_cut_debugger.html#ab4a3386ee441c8a357f4829cdded35f0">00037</a> <span class="keyword">  </span>{ <span class="keywordflow">return</span> <a class="code" href="class_osi_row_cut_debugger.html#a704acc478dda9754a65a6c022c5400c7" title="Optimal column solution.">optimalSolution_</a>;}
<a name="l00038"></a>00038 
<a name="l00040"></a>00040   <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="class_osi_row_cut_debugger.html#ab4a3386ee441c8a357f4829cdded35f0" title="Return number of columns in optimal solution.">numberColumns</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> (<a class="code" href="class_osi_row_cut_debugger.html#a14c3cc4febecfdfc111761f5e4cd3749" title="number of columns in problem">numberColumns_</a>) ; }
<a name="l00042"></a>00042   <span class="keyword">inline</span> <span class="keywordtype">double</span> <a class="code" href="class_osi_row_cut_debugger.html#a94fadc19f4b1fe59c00dc818bfd57b6e" title="Return value of optimal solution.">optimalValue</a>()<span class="keyword"> const</span>
<a name="l00043"></a>00043 <span class="keyword">  </span>{ <span class="keywordflow">return</span> <a class="code" href="class_osi_row_cut_debugger.html#acc54a77a092742ba44fcae70b4cd9a1a" title="Value of optimal solution.">optimalValue_</a>;}
<a name="l00045"></a>00045 
<a name="l00052"></a>00052   <span class="keywordtype">bool</span> <a class="code" href="class_osi_row_cut_debugger.html#a8e5540797f47fe18fd38565a6483c800" title="Activate debugger using name of model.">activate</a>(<span class="keyword">const</span> <a class="code" href="class_osi_solver_interface.html" title="Solver Interface Abstract Base Class.">OsiSolverInterface</a> &amp; si, <span class="keyword">const</span> <span class="keywordtype">char</span> * model);
<a name="l00058"></a>00058   <span class="keywordtype">bool</span> <a class="code" href="class_osi_row_cut_debugger.html#a8e5540797f47fe18fd38565a6483c800" title="Activate debugger using name of model.">activate</a>(<span class="keyword">const</span> <a class="code" href="class_osi_solver_interface.html" title="Solver Interface Abstract Base Class.">OsiSolverInterface</a> &amp; si, <span class="keyword">const</span> <span class="keywordtype">double</span> * solution);
<a name="l00060"></a>00060   <span class="keywordtype">void</span> <a class="code" href="class_osi_row_cut_debugger.html#ae64db190e0a08d06483fcff57787bca9" title="Redo solution after preprocessing.">redoSolution</a>(<span class="keywordtype">int</span> <a class="code" href="class_osi_row_cut_debugger.html#ab4a3386ee441c8a357f4829cdded35f0" title="Return number of columns in optimal solution.">numberColumns</a>,<span class="keyword">const</span> <span class="keywordtype">int</span> * originalColumns);
<a name="l00062"></a>00062   <span class="keywordtype">int</span> <a class="code" href="class_osi_row_cut_debugger.html#a88c5cb90e3b9bb41e67ae83f4feff644" title="Print optimal solution (returns -1 bad debug, 0 on optimal, 1 not).">printOptimalSolution</a>(<span class="keyword">const</span> <a class="code" href="class_osi_solver_interface.html" title="Solver Interface Abstract Base Class.">OsiSolverInterface</a> &amp; si) <span class="keyword">const</span>;
<a name="l00064"></a>00064 
<a name="l00071"></a>00071   <span class="keywordtype">bool</span> <a class="code" href="class_osi_row_cut_debugger.html#a986092978379109bf756465cd3be95bc" title="Returns whether still on optimal path.">onOptimalPath</a>(<span class="keyword">const</span> <a class="code" href="class_osi_solver_interface.html" title="Solver Interface Abstract Base Class.">OsiSolverInterface</a> &amp; si) <span class="keyword">const</span>;
<a name="l00073"></a>00073 
<a name="l00076"></a>00076 
<a name="l00077"></a>00077   <span class="keywordtype">bool</span> <a class="code" href="class_osi_row_cut_debugger.html#ae23795ef466c8cbe3089ceeedf1286b3" title="Returns true if debugger is active.">active</a>() <span class="keyword">const</span>;
<a name="l00079"></a>00079 
<a name="l00082"></a>00082 
<a name="l00083"></a>00083   <a class="code" href="class_osi_row_cut_debugger.html#afb313b0e0c1bb4a094fca95bf8487e7e" title="Default constructor - no checking.">OsiRowCutDebugger</a> ();
<a name="l00084"></a>00084 
<a name="l00088"></a>00088   <a class="code" href="class_osi_row_cut_debugger.html#afb313b0e0c1bb4a094fca95bf8487e7e" title="Default constructor - no checking.">OsiRowCutDebugger</a> (<span class="keyword">const</span> <a class="code" href="class_osi_solver_interface.html" title="Solver Interface Abstract Base Class.">OsiSolverInterface</a> &amp; si, <span class="keyword">const</span> <span class="keywordtype">char</span> * model);
<a name="l00089"></a>00089 
<a name="l00090"></a>00090   <span class="comment">// Constructor with full solution (only integers need be correct)</span>
<a name="l00091"></a>00091   <a class="code" href="class_osi_row_cut_debugger.html#afb313b0e0c1bb4a094fca95bf8487e7e" title="Default constructor - no checking.">OsiRowCutDebugger</a> (<span class="keyword">const</span> <a class="code" href="class_osi_solver_interface.html" title="Solver Interface Abstract Base Class.">OsiSolverInterface</a> &amp; si, <span class="keyword">const</span> <span class="keywordtype">double</span> * solution);
<a name="l00092"></a>00092  
<a name="l00094"></a>00094   <a class="code" href="class_osi_row_cut_debugger.html#afb313b0e0c1bb4a094fca95bf8487e7e" title="Default constructor - no checking.">OsiRowCutDebugger</a> (
<a name="l00095"></a>00095     <span class="keyword">const</span> <a class="code" href="class_osi_row_cut_debugger.html" title="Validate Row Cut Generator.">OsiRowCutDebugger</a> &amp;);
<a name="l00096"></a>00096 
<a name="l00098"></a>00098   <a class="code" href="class_osi_row_cut_debugger.html" title="Validate Row Cut Generator.">OsiRowCutDebugger</a> &amp;
<a name="l00099"></a>00099     <a class="code" href="class_osi_row_cut_debugger.html#ae2de329960baa47454ac4823ea38cace" title="Assignment operator.">operator=</a>(
<a name="l00100"></a>00100     <span class="keyword">const</span> <a class="code" href="class_osi_row_cut_debugger.html" title="Validate Row Cut Generator.">OsiRowCutDebugger</a>&amp; rhs);
<a name="l00101"></a>00101   
<a name="l00103"></a>00103   <span class="keyword">virtual</span>
<a name="l00104"></a>00104     <a class="code" href="class_osi_row_cut_debugger.html#aea5ef5956b143ed66e4c837da8637eae" title="Destructor.">~OsiRowCutDebugger</a> ();
<a name="l00106"></a>00106       
<a name="l00107"></a>00107 <span class="keyword">private</span>:
<a name="l00108"></a>00108   
<a name="l00109"></a>00109  <span class="comment">// Private member methods</span>
<a name="l00110"></a>00110 
<a name="l00111"></a>00111 
<a name="l00114"></a>00114 
<a name="l00116"></a>00116 
<a name="l00117"></a>00117   <span class="comment">// Private member data</span>
<a name="l00118"></a>00118 
<a name="l00121"></a><a class="code" href="class_osi_row_cut_debugger.html#a14c3cc4febecfdfc111761f5e4cd3749">00121</a> 
<a name="l00122"></a>00122   <span class="keywordtype">double</span> <a class="code" href="class_osi_row_cut_debugger.html#acc54a77a092742ba44fcae70b4cd9a1a" title="Value of optimal solution.">optimalValue_</a>;
<a name="l00124"></a>00124   <span class="keywordtype">int</span> <a class="code" href="class_osi_row_cut_debugger.html#a14c3cc4febecfdfc111761f5e4cd3749" title="number of columns in problem">numberColumns_</a>;
<a name="l00126"></a>00126   <span class="keywordtype">bool</span> * <a class="code" href="class_osi_row_cut_debugger.html#a7357d038b3726dcb64e6235a57a33657" title="Whether integer or not.">integerVariable_</a>;
<a name="l00128"></a>00128   <span class="keywordtype">double</span> * <a class="code" href="class_osi_row_cut_debugger.html#a704acc478dda9754a65a6c022c5400c7" title="Optimal column solution.">optimalSolution_</a>;
<a name="l00130"></a>00130 };
<a name="l00131"></a>00131 
<a name="l00132"></a>00132 <span class="comment">//#############################################################################</span>
<a name="l00138"></a>00138 <span class="comment"></span><span class="keywordtype">void</span>
<a name="l00139"></a>00139 <a class="code" href="_osi_row_cut_debugger_8hpp.html#acc149ef7d160e813359a1f3536e240bb" title="A function that tests the methods in the OsiRowCut class.">OsiRowCutDebuggerUnitTest</a>(<span class="keyword">const</span> <a class="code" href="class_osi_solver_interface.html" title="Solver Interface Abstract Base Class.">OsiSolverInterface</a> * siP,    
<a name="l00140"></a>00140                           <span class="keyword">const</span> std::string &amp; mpsDir);
<a name="l00141"></a>00141   
<a name="l00142"></a>00142 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Mon Oct 18 2010 06:52:51 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>