| 
    Bonmin
    1.8.8
    
   | 
 
Bonmin class for passing info between components of branch-and-cuts. More...
#include <BonAuxInfos.hpp>
  
 Public Member Functions | |
| AuxInfo (int type) | |
| Default constructor.  More... | |
| AuxInfo (const OsiBabSolver &other) | |
| Constructor from OsiBabSolver.  More... | |
| AuxInfo (const AuxInfo &other) | |
| Copy constructor.  More... | |
| virtual | ~AuxInfo () | 
| Destructor.  More... | |
| virtual OsiAuxInfo * | clone () const | 
| Virtual copy constructor.  More... | |
| void | setFeasibleNode () | 
| Declare the node to be feasible.  More... | |
| void | setInfeasibleNode () | 
| Declare the node to be infeasible.  More... | |
| bool | infeasibleNode () | 
| Say if current node is found feasible by cut generators.  More... | |
| const double * | nlpSolution () | 
| Get solution found by nlp solver (or NULL if none found).  More... | |
| double | nlpObjValue () | 
| Get objective value of nlp solution found, or +infinity if none exists.  More... | |
| void | setNlpSolution (const double *sol, int numcols, double objValue) | 
| Pass a solution found by an nlp solver.  More... | |
| void | setHasNlpSolution (bool b) | 
| Say if has an nlp solution.  More... | |
| const std::vector< double > & | bestSolution2 () const | 
| get the best solution computed with alternative objective function.  More... | |
| double | bestObj2 () const | 
| return objective value of the best solution computed with alternative objective function.  More... | |
| void | setBestObj2 (double o) | 
| Set an alternate objective value.  More... | |
| void | setBestSolution2 (int n, double *d) | 
Protected Attributes | |
| bool | infeasibleNode_ | 
| Say if current node was found infeasible during cut generation.  More... | |
| double | objValue_ | 
| value of the objective function of this nlp solution  More... | |
| double * | nlpSolution_ | 
| nlp solution found by heuristic if any.  More... | |
| int | numcols_ | 
| numcols_ gives the size of nlpSolution_.  More... | |
| bool | hasNlpSolution_ | 
| say if has a solution.  More... | |
| Coin::SmartPtr < SimpleReferenced < std::vector< double > > >  | bestSolution2_ | 
| Stores the solution with alternate objective.  More... | |
| Coin::SmartPtr < SimpleReferenced< double > >  | bestObj2_ | 
| Alternate solution objective value.  More... | |
Bonmin class for passing info between components of branch-and-cuts.
Definition at line 23 of file BonAuxInfos.hpp.
| Bonmin::AuxInfo::AuxInfo | ( | int | type | ) | 
Default constructor.
| Bonmin::AuxInfo::AuxInfo | ( | const OsiBabSolver & | other | ) | 
Constructor from OsiBabSolver.
| Bonmin::AuxInfo::AuxInfo | ( | const AuxInfo & | other | ) | 
Copy constructor.
      
  | 
  virtual | 
Destructor.
      
  | 
  virtual | 
Virtual copy constructor.
Reimplemented in Bonmin::BabInfo.
      
  | 
  inline | 
Declare the node to be feasible.
Definition at line 41 of file BonAuxInfos.hpp.
References infeasibleNode_.
      
  | 
  inline | 
Declare the node to be infeasible.
Definition at line 45 of file BonAuxInfos.hpp.
References infeasibleNode_.
      
  | 
  inline | 
Say if current node is found feasible by cut generators.
Definition at line 49 of file BonAuxInfos.hpp.
References infeasibleNode_.
      
  | 
  inline | 
Get solution found by nlp solver (or NULL if none found).
Definition at line 53 of file BonAuxInfos.hpp.
References hasNlpSolution_, and nlpSolution_.
| double Bonmin::AuxInfo::nlpObjValue | ( | ) | 
Get objective value of nlp solution found, or +infinity if none exists.
| void Bonmin::AuxInfo::setNlpSolution | ( | const double * | sol, | 
| int | numcols, | ||
| double | objValue | ||
| ) | 
Pass a solution found by an nlp solver.
      
  | 
  inline | 
Say if has an nlp solution.
Definition at line 68 of file BonAuxInfos.hpp.
References hasNlpSolution_.
      
  | 
  inline | 
get the best solution computed with alternative objective function.
Definition at line 71 of file BonAuxInfos.hpp.
References bestSolution2_.
      
  | 
  inline | 
return objective value of the best solution computed with alternative objective function.
Definition at line 77 of file BonAuxInfos.hpp.
References bestObj2_.
      
  | 
  inline | 
Set an alternate objective value.
Definition at line 82 of file BonAuxInfos.hpp.
      
  | 
  inline | 
Definition at line 86 of file BonAuxInfos.hpp.
References bestSolution2_.
      
  | 
  protected | 
Say if current node was found infeasible during cut generation.
Definition at line 93 of file BonAuxInfos.hpp.
Referenced by infeasibleNode(), setFeasibleNode(), and setInfeasibleNode().
      
  | 
  protected | 
value of the objective function of this nlp solution
Definition at line 95 of file BonAuxInfos.hpp.
      
  | 
  protected | 
nlp solution found by heuristic if any.
Definition at line 97 of file BonAuxInfos.hpp.
Referenced by nlpSolution().
      
  | 
  protected | 
numcols_ gives the size of nlpSolution_.
Definition at line 99 of file BonAuxInfos.hpp.
      
  | 
  protected | 
say if has a solution.
Definition at line 101 of file BonAuxInfos.hpp.
Referenced by nlpSolution(), and setHasNlpSolution().
      
  | 
  protected | 
Stores the solution with alternate objective.
Definition at line 103 of file BonAuxInfos.hpp.
Referenced by bestSolution2(), and setBestSolution2().
      
  | 
  protected | 
Alternate solution objective value.
Definition at line 105 of file BonAuxInfos.hpp.
Referenced by bestObj2().
 1.8.5