Changeset 1460:7c58aabb9eea in lemon-0.x for lemon/lp_base.h
- Timestamp:
- 06/09/05 17:03:58 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1940
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/lp_base.h
r1458 r1460 119 119 }; 120 120 121 ///\e121 ///\e 122 122 enum SolutionStatus { 123 123 ///Feasible solution has'n been found (but may exist). … … 138 138 INFINITE = 4 139 139 }; 140 141 ///\e The type of the investigated LP problem 142 enum Problemtypes { 143 ///Primal-dual feasible 144 PRIMAL_DUAL_FEASIBLE = 0, 145 ///Primal feasible dual infeasible 146 PRIMAL_FEASIBLE_DUAL_INFEASIBLE = 1, 147 ///Primal infeasible dual feasible 148 PRIMAL_INFEASIBLE_DUAL_FEASIBLE = 2, 149 ///Primal-dual infeasible 150 PRIMAL_DUAL_INFEASIBLE = 3, 151 ///Could not determine so far 152 UNKNOWN = 4 153 }; 140 154 141 155 ///The floating point type used by the solver … … 564 578 virtual Value _getPrimalValue() = 0; 565 579 virtual SolutionStatus _getPrimalStatus() = 0; 580 virtual SolutionStatus _getDualStatus() = 0; 581 ///\todo This could be implemented here, too, using _getPrimalStatus() and 582 ///_getDualStatus() 583 virtual ProblemTypes _getProblemType() = 0; 584 566 585 virtual void _setMax() = 0; 567 586 virtual void _setMin() = 0; … … 931 950 ///@{ 932 951 933 /// \e952 /// The status of the primal problem (the original LP problem) 934 953 SolutionStatus primalStatus() { 935 954 return _getPrimalStatus(); 955 } 956 957 /// The status of the dual (of the original LP) problem 958 SolutionStatus dualStatus() { 959 return _getDualStatus(); 960 } 961 962 ///The type of the original LP problem 963 Problemtypes problemType() { 964 return _getProblemType(); 936 965 } 937 966
Note: See TracChangeset
for help on using the changeset viewer.