Changeset 1321:bc3a4c498eb2 in lemon-0.x for src/lemon/lp_glpk.h
- Timestamp:
- 04/08/05 08:33:11 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1760
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/lemon/lp_glpk.h
r1312 r1321 33 33 /// This class implements a lemon wrapper for GLPK. 34 34 class LpGlpk : public LpSolverBase { 35 35 protected: 36 LPX* lp; 37 36 38 public: 37 39 38 40 typedef LpSolverBase Parent; 39 41 40 /// \e 41 LPX* lp; 42 43 /// \e 44 LpGlpk() : Parent(), 45 lp(lpx_create_prob()) { 46 lpx_set_int_parm(lp, LPX_K_DUAL, 1); 47 } 48 /// \e 49 ~LpGlpk() { 50 lpx_delete_prob(lp); 51 } 52 42 LpGlpk(); 43 ~LpGlpk(); 44 53 45 protected: 54 46 virtual int _addCol(); … … 69 61 ///\e 70 62 71 ///\ bug Unimplemented63 ///\todo It should be clarified 72 64 /// 73 65 virtual SolveExitStatus _solve(); 74 ///\e75 76 ///\bug Unimplemented77 ///78 66 virtual Value _getPrimal(int i); 79 ///\e80 81 ///\bug Unimplemented82 ///83 67 virtual Value _getPrimalValue(); 84 68 ///\e 85 69 86 ///\ bug Unimplemented70 ///\todo It should be clarified 87 71 /// 88 72 virtual SolutionStatus _getPrimalStatus(); 73 virtual void _setMax(); 74 virtual void _setMin(); 89 75 90 ///\e 76 public: 77 ///Set the verbosity of the messages 78 79 ///\param m is the level of the messages output by the solver routines. 80 ///The possible values are: 81 ///- 0 --- no output (default value) 82 ///- 1 --- error messages only 83 ///- 2 --- normal output 84 ///- 3 --- full output (includes informational messages) 85 void messageLevel(int m); 91 86 92 ///\bug Unimplemented93 ///94 virtual void _setMax();95 ///\e96 97 ///\bug Unimplemented98 ///99 virtual void _setMin();100 101 87 }; 102 88 } //END OF NAMESPACE LEMON
Note: See TracChangeset
for help on using the changeset viewer.