lemon/lp_base.h
changeset 1458 7a483c1d38b5
parent 1445 4635352e5524
child 1460 7c58aabb9eea
equal deleted inserted replaced
3:9c189fd45303 4:f4c501607a6c
   106   ///\ingroup gen_opt_group
   106   ///\ingroup gen_opt_group
   107   class LpSolverBase {
   107   class LpSolverBase {
   108 
   108 
   109   public:
   109   public:
   110 
   110 
   111     ///\e
   111     ///Possible outcomes of an LP solving procedure
   112     enum SolveExitStatus {
   112     enum SolveExitStatus {
   113       ///\e
   113       ///This means that the problem has been successfully solved: either
       
   114       ///an optimal solution has been found or infeasibility/unboundedness
       
   115       ///has been proved.
   114       SOLVED = 0,
   116       SOLVED = 0,
   115       ///\e
   117       ///Any other case (including the case when some user specified limit has been exceeded)
   116       UNSOLVED = 1
   118       UNSOLVED = 1
   117     };
   119     };
   118       
   120       
   119     ///\e
   121     ///\e
   120     enum SolutionStatus {
   122     enum SolutionStatus {
   913 
   915 
   914     ///\name Solve the LP
   916     ///\name Solve the LP
   915 
   917 
   916     ///@{
   918     ///@{
   917 
   919 
   918     ///\e
   920     ///\e Solve the LP problem at hand
       
   921     ///
       
   922     ///\return The result of the optimization procedure. Possible values and their meanings can be found in the documentation of \ref SolveExitStatus.
       
   923     ///
       
   924     ///\todo Which method is used to solve the problem
   919     SolveExitStatus solve() { return _solve(); }
   925     SolveExitStatus solve() { return _solve(); }
   920     
   926     
   921     ///@}
   927     ///@}
   922     
   928     
   923     ///\name Obtain the solution
   929     ///\name Obtain the solution
   924 
   930 
   925     ///@{
   931     ///@{
   926 
   932 
   927     ///\e
   933     ///\e 
   928     SolutionStatus primalStatus() {
   934     SolutionStatus primalStatus() {
   929       return _getPrimalStatus();
   935       return _getPrimalStatus();
   930     }
   936     }
   931 
   937 
   932     ///\e
   938     ///\e