Changeset 1303:9bcc455da4f5 in lemon-0.x for src/work
- Timestamp:
- 04/05/05 08:41:21 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1738
- Location:
- src/work/athos/lp
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/athos/lp/lp_base.h
r1295 r1303 106 106 107 107 ///\e 108 enum Sol utionStatus {108 enum SolveExitStatus { 109 109 ///\e 110 110 SOLVED = 0, … … 114 114 115 115 ///\e 116 enum Solution Type{116 enum SolutionStatus { 117 117 ///Feasible solution has'n been found (but may exist). 118 118 … … 391 391 virtual void _setRowUpperBound(int i, Value value) = 0; 392 392 virtual void _setObjCoeff(int i, Value obj_coef) = 0; 393 virtual Sol utionStatus _solve() = 0;393 virtual SolveExitStatus _solve() = 0; 394 394 virtual Value _getPrimal(int i) = 0; 395 virtual Solution Type_getPrimalType() = 0;395 virtual SolutionStatus _getPrimalType() = 0; 396 396 397 397 … … 615 615 616 616 ///\e 617 Sol utionStatus solve() { return _solve(); }617 SolveExitStatus solve() { return _solve(); } 618 618 619 619 ///@} … … 624 624 625 625 ///\e 626 Solution TypeprimalType() {626 SolutionStatus primalType() { 627 627 return _getPrimalType(); 628 628 } -
src/work/athos/lp/lp_cplex.cc
r1299 r1303 92 92 } 93 93 94 LpCplex::Solution TypeLpCplex::_solve()94 LpCplex::SolutionStatus LpCplex::_solve() 95 95 { 96 96 return OPTIMAL; -
src/work/athos/lp/lp_cplex.h
r1299 r1303 109 109 ///\bug Unimplemented 110 110 /// 111 virtual Solution Type_solve();111 virtual SolutionStatus _solve(); 112 112 ///\e 113 113 -
src/work/athos/lp/lp_glpk.cc
r1300 r1303 239 239 240 240 241 LpGlpk::Sol utionStatus LpGlpk::_solve()241 LpGlpk::SolveExitStatus LpGlpk::_solve() 242 242 { 243 243 int i= lpx_simplex(lp); … … 257 257 258 258 259 LpGlpk::Solution TypeLpGlpk::_getPrimalType()259 LpGlpk::SolutionStatus LpGlpk::_getPrimalType() 260 260 { 261 261 int stat= lpx_get_status(lp); -
src/work/athos/lp/lp_glpk.h
r1294 r1303 71 71 ///\bug Unimplemented 72 72 /// 73 virtual Sol utionStatus _solve();73 virtual SolveExitStatus _solve(); 74 74 ///\e 75 75 … … 81 81 ///\bug Unimplemented 82 82 /// 83 virtual Solution Type_getPrimalType();83 virtual SolutionStatus _getPrimalType(); 84 84 85 85 }; -
src/work/athos/lp/lp_solver_skeleton.cc
r1294 r1303 66 66 } 67 67 68 LpSolverSkeleton::Sol utionStatus LpSolverSkeleton::_solve()68 LpSolverSkeleton::SolveExitStatus LpSolverSkeleton::_solve() 69 69 { 70 70 return SOLVED; … … 76 76 } 77 77 78 LpSolverSkeleton::Solution TypeLpSolverSkeleton::_getPrimalType()78 LpSolverSkeleton::SolutionStatus LpSolverSkeleton::_getPrimalType() 79 79 { 80 80 return OPTIMAL; -
src/work/athos/lp/lp_solver_skeleton.h
r1294 r1303 83 83 ///\bug Wrong interface 84 84 /// 85 virtual Sol utionStatus _solve();85 virtual SolveExitStatus _solve(); 86 86 87 87 ///\e … … 94 94 ///\bug Wrong interface 95 95 /// 96 virtual Solution Type_getPrimalType();96 virtual SolutionStatus _getPrimalType(); 97 97 98 98 public:
Note: See TracChangeset
for help on using the changeset viewer.