lemon/clp.h
changeset 1143 f85ee41c84bc
parent 1092 dceba191c00d
child 1206 86a5b114a066
equal deleted inserted replaced
6:fbe3a2869e86 7:bbcedeb358f6
   149 
   149 
   150     ///Solves LP with barrier method.
   150     ///Solves LP with barrier method.
   151     SolveExitStatus solveBarrier();
   151     SolveExitStatus solveBarrier();
   152 
   152 
   153     ///Returns the constraint identifier understood by CLP.
   153     ///Returns the constraint identifier understood by CLP.
   154     int clpRow(Row r) const { return rows(id(r)); }
   154     int clpRow(Row r) const { return _rows(id(r)); }
   155 
   155 
   156     ///Returns the variable identifier understood by CLP.
   156     ///Returns the variable identifier understood by CLP.
   157     int clpCol(Col c) const { return cols(id(c)); }
   157     int clpCol(Col c) const { return _cols(id(c)); }
   158 
   158 
   159   };
   159   };
   160 
   160 
   161 } //END OF NAMESPACE LEMON
   161 } //END OF NAMESPACE LEMON
   162 
   162