Changeset 438
 Timestamp:
 02/17/10 16:22:00 (3 weeks ago)
 Files:

 PythonPackages/OpenOpt/openopt/kernel/baseProblem.py (modified) (1 diff)
 PythonPackages/OpenOpt/openopt/kernel/nonOptMisc.py (modified) (2 diffs)
Legend:
 Unmodified
 Added
 Removed
 Modified
 Copied
 Moved

PythonPackages/OpenOpt/openopt/kernel/baseProblem.py
r437 r438 217 217 218 218 def solve(self, *args, **kwargs): 219 return runProbSolver(self, *args, **kwargs) 220 221 def _solve(self, *args, **kwargs): 222 self.debug = True 219 223 return runProbSolver(self, *args, **kwargs) 220 224 
PythonPackages/OpenOpt/openopt/kernel/nonOptMisc.py
r427 r438 31 31 def getSolverFromStringName(p, solver_str): 32 32 if solver_str not in solverPaths: 33 p.err('incorrect solver is called, maybe the solver "' + solver_str +'" is not installed. Also, maybe you have forgot to use "python setup.py install (/develop)" after updating OpenOpt from subversion repository')33 p.err('incorrect solver is called, maybe the solver "' + solver_str +'" is not installed. Also, maybe you have forgot to use "python setup.py install" after updating OpenOpt from subversion repository') 34 34 if p.debug: 35 35 solverClass = getattr(my_import('openopt.solvers.'+solverPaths[solver_str]), solver_str) … … 38 38 solverClass = getattr(my_import('openopt.solvers.'+solverPaths[solver_str]), solver_str) 39 39 except: 40 p.err('incorrect solver is called, maybe the solver "' + solver_str +'" is not installed. Maybe setting p.debug=1 could specify the matter more precisely')40 p.err('incorrect solver is called, maybe the solver "' + solver_str +'" require its installation, check http://openopt.org/%s or try p._solve() for more details' % p.probType) 41 41 return solverClass() 42 42