lemon/lp_base.h
changeset 2611 b526b87d8c2f
parent 2605 852361980706
child 2618 6aa6fcaeaea5
equal deleted inserted replaced
61:455c5fcf02ae 62:8c73ed3db96f
  1537   ///\relates LpSolverBase::Constr
  1537   ///\relates LpSolverBase::Constr
  1538   ///
  1538   ///
  1539   inline LpSolverBase::Constr operator<=(const LpSolverBase::Expr &e,
  1539   inline LpSolverBase::Constr operator<=(const LpSolverBase::Expr &e,
  1540 					 const LpSolverBase::Value &f) 
  1540 					 const LpSolverBase::Value &f) 
  1541   {
  1541   {
  1542     return LpSolverBase::Constr(e,f);
  1542     return LpSolverBase::Constr(-LpSolverBase::INF,e,f);
  1543   }
  1543   }
  1544 
  1544 
  1545   ///\e
  1545   ///\e
  1546   
  1546   
  1547   ///\relates LpSolverBase::Constr
  1547   ///\relates LpSolverBase::Constr
  1569   ///\relates LpSolverBase::Constr
  1569   ///\relates LpSolverBase::Constr
  1570   ///
  1570   ///
  1571   inline LpSolverBase::Constr operator>=(const LpSolverBase::Expr &e,
  1571   inline LpSolverBase::Constr operator>=(const LpSolverBase::Expr &e,
  1572 					 const LpSolverBase::Value &f) 
  1572 					 const LpSolverBase::Value &f) 
  1573   {
  1573   {
  1574     return LpSolverBase::Constr(f,e);
  1574     return LpSolverBase::Constr(f,e,LpSolverBase::INF);
  1575   }
  1575   }
  1576 
  1576 
  1577   ///\e
  1577   ///\e
  1578 
  1578 
  1579   ///\relates LpSolverBase::Constr
  1579   ///\relates LpSolverBase::Constr