/[ascend]/trunk/pygtk/solver.i
ViewVC logotype

Diff of /trunk/pygtk/solver.i

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 771 by johnpye, Wed Jul 5 04:56:26 2006 UTC revision 772 by johnpye, Fri Jul 14 06:03:47 2006 UTC
# Line 20  public: Line 20  public:
20      const std::string getName() const;      const std::string getName() const;
21  };  };
22    
23  class Simulation : public Instanc{  %include "simulation.h"
 public:  
     Simulation(Instance *&, const SymChar &name);  
     Instanc &getModel();  
     std::vector<Variable> getFixableVariables();  
     std::vector<Variable> getVariablesNearBounds(const double &epsilon=1e-4);  
     void build();  
     const bool check();  
     void checkDoF() const;  
     void run(const Method &);  
     void setSolver(Solver&);  
     const Solver getSolver() const;  
     void solve(Solver s,SolverReporter &);  
     SolverParameters getSolverParameters() const;  
     void setSolverParameters(SolverParameters&);  
   
     IncidenceMatrix getIncidenceMatrix();  
     const std::string getInstanceName(const Instanc &) const;  
   
     void processVarStatus();  
     const int getNumVars();  
     const int getActiveBlock() const;  
     void checkConsistency() const;  
     void checkStructuralSingularity() const;  
 };  
   
24  // SOLVE PARAMETERS  // SOLVE PARAMETERS
25    
26  %pythoncode{  %pythoncode{

Legend:
Removed from v.771  
changed lines
  Added in v.772

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22