Osi 0.108.9
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
OsiBranchingInformation Class Reference

#include <OsiBranchingObject.hpp>

+ Collaboration diagram for OsiBranchingInformation:

Public Member Functions

 OsiBranchingInformation ()
 Default Constructor.
 
 OsiBranchingInformation (const OsiSolverInterface *solver, bool normalSolver, bool copySolution=false)
 Useful Constructor (normalSolver true if has matrix etc etc) copySolution true if constructot should make a copy.
 
 OsiBranchingInformation (const OsiBranchingInformation &)
 Copy constructor.
 
OsiBranchingInformationoperator= (const OsiBranchingInformation &rhs)
 Assignment operator.
 
virtual OsiBranchingInformationclone () const
 Clone.
 
virtual ~OsiBranchingInformation ()
 Destructor.
 

Public Attributes

int stateOfSearch_
 data
 
double objectiveValue_
 Value of objective function (in minimization sense)
 
double cutoff_
 Value of objective cutoff (in minimization sense)
 
double direction_
 Direction 1.0 for minimization, -1.0 for maximization.
 
double integerTolerance_
 Integer tolerance.
 
double primalTolerance_
 Primal tolerance.
 
double timeRemaining_
 Maximum time remaining before stopping on time.
 
double defaultDual_
 Dual to use if row bound violated (if negative then pseudoShadowPrices off)
 
const OsiSolverInterfacesolver_
 Pointer to solver.
 
int numberColumns_
 The number of columns.
 
const double * lower_
 Pointer to current lower bounds on columns.
 
const double * solution_
 Pointer to current solution.
 
const double * upper_
 Pointer to current upper bounds on columns.
 
const double * hotstartSolution_
 Highly optional target (hot start) solution.
 
const double * pi_
 Pointer to duals.
 
const double * rowActivity_
 Pointer to row activity.
 
const double * objective_
 Objective.
 
const double * rowLower_
 Pointer to current lower bounds on rows.
 
const double * rowUpper_
 Pointer to current upper bounds on rows.
 
const double * elementByColumn_
 Elements in column copy of matrix.
 
const CoinBigIndex * columnStart_
 Column starts.
 
const int * columnLength_
 Column lengths.
 
const int * row_
 Row indices.
 
double * usefulRegion_
 Useful region of length CoinMax(numberColumns,2*numberRows) This is allocated and deleted before OsiObject::infeasibility It is zeroed on entry and should be so on exit It only exists if defaultDual_>=0.0.
 
int * indexRegion_
 Useful index region to go with usefulRegion_.
 
int numberSolutions_
 Number of solutions found.
 
int numberBranchingSolutions_
 Number of branching solutions found (i.e. exclude heuristics)
 
int depth_
 Depth in tree.
 
bool owningSolution_
 TEMP.
 

Detailed Description

Definition at line 414 of file OsiBranchingObject.hpp.

Constructor & Destructor Documentation

◆ OsiBranchingInformation() [1/3]

OsiBranchingInformation::OsiBranchingInformation ( )

Default Constructor.

◆ OsiBranchingInformation() [2/3]

OsiBranchingInformation::OsiBranchingInformation ( const OsiSolverInterface * solver,
bool normalSolver,
bool copySolution = false )

Useful Constructor (normalSolver true if has matrix etc etc) copySolution true if constructot should make a copy.

◆ OsiBranchingInformation() [3/3]

OsiBranchingInformation::OsiBranchingInformation ( const OsiBranchingInformation & )

Copy constructor.

◆ ~OsiBranchingInformation()

virtual OsiBranchingInformation::~OsiBranchingInformation ( )
virtual

Destructor.

Member Function Documentation

◆ operator=()

OsiBranchingInformation & OsiBranchingInformation::operator= ( const OsiBranchingInformation & rhs)

Assignment operator.

◆ clone()

virtual OsiBranchingInformation * OsiBranchingInformation::clone ( ) const
virtual

Clone.

Member Data Documentation

◆ stateOfSearch_

int OsiBranchingInformation::stateOfSearch_

data

State of search 0 - no solution 1 - only heuristic solutions 2 - branched to a solution 3 - no solution but many nodes

Definition at line 448 of file OsiBranchingObject.hpp.

◆ objectiveValue_

double OsiBranchingInformation::objectiveValue_

Value of objective function (in minimization sense)

Definition at line 450 of file OsiBranchingObject.hpp.

◆ cutoff_

double OsiBranchingInformation::cutoff_

Value of objective cutoff (in minimization sense)

Definition at line 452 of file OsiBranchingObject.hpp.

◆ direction_

double OsiBranchingInformation::direction_

Direction 1.0 for minimization, -1.0 for maximization.

Definition at line 454 of file OsiBranchingObject.hpp.

◆ integerTolerance_

double OsiBranchingInformation::integerTolerance_

Integer tolerance.

Definition at line 456 of file OsiBranchingObject.hpp.

◆ primalTolerance_

double OsiBranchingInformation::primalTolerance_

Primal tolerance.

Definition at line 458 of file OsiBranchingObject.hpp.

◆ timeRemaining_

double OsiBranchingInformation::timeRemaining_

Maximum time remaining before stopping on time.

Definition at line 460 of file OsiBranchingObject.hpp.

◆ defaultDual_

double OsiBranchingInformation::defaultDual_

Dual to use if row bound violated (if negative then pseudoShadowPrices off)

Definition at line 462 of file OsiBranchingObject.hpp.

◆ solver_

const OsiSolverInterface* OsiBranchingInformation::solver_
mutable

Pointer to solver.

Definition at line 464 of file OsiBranchingObject.hpp.

◆ numberColumns_

int OsiBranchingInformation::numberColumns_

The number of columns.

Definition at line 466 of file OsiBranchingObject.hpp.

◆ lower_

const double* OsiBranchingInformation::lower_
mutable

Pointer to current lower bounds on columns.

Definition at line 468 of file OsiBranchingObject.hpp.

◆ solution_

const double* OsiBranchingInformation::solution_
mutable

Pointer to current solution.

Definition at line 470 of file OsiBranchingObject.hpp.

◆ upper_

const double* OsiBranchingInformation::upper_
mutable

Pointer to current upper bounds on columns.

Definition at line 472 of file OsiBranchingObject.hpp.

◆ hotstartSolution_

const double* OsiBranchingInformation::hotstartSolution_

Highly optional target (hot start) solution.

Definition at line 474 of file OsiBranchingObject.hpp.

◆ pi_

const double* OsiBranchingInformation::pi_

Pointer to duals.

Definition at line 476 of file OsiBranchingObject.hpp.

◆ rowActivity_

const double* OsiBranchingInformation::rowActivity_

Pointer to row activity.

Definition at line 478 of file OsiBranchingObject.hpp.

◆ objective_

const double* OsiBranchingInformation::objective_

Objective.

Definition at line 480 of file OsiBranchingObject.hpp.

◆ rowLower_

const double* OsiBranchingInformation::rowLower_

Pointer to current lower bounds on rows.

Definition at line 482 of file OsiBranchingObject.hpp.

◆ rowUpper_

const double* OsiBranchingInformation::rowUpper_

Pointer to current upper bounds on rows.

Definition at line 484 of file OsiBranchingObject.hpp.

◆ elementByColumn_

const double* OsiBranchingInformation::elementByColumn_

Elements in column copy of matrix.

Definition at line 486 of file OsiBranchingObject.hpp.

◆ columnStart_

const CoinBigIndex* OsiBranchingInformation::columnStart_

Column starts.

Definition at line 488 of file OsiBranchingObject.hpp.

◆ columnLength_

const int* OsiBranchingInformation::columnLength_

Column lengths.

Definition at line 490 of file OsiBranchingObject.hpp.

◆ row_

const int* OsiBranchingInformation::row_

Row indices.

Definition at line 492 of file OsiBranchingObject.hpp.

◆ usefulRegion_

double* OsiBranchingInformation::usefulRegion_

Useful region of length CoinMax(numberColumns,2*numberRows) This is allocated and deleted before OsiObject::infeasibility It is zeroed on entry and should be so on exit It only exists if defaultDual_>=0.0.

Definition at line 498 of file OsiBranchingObject.hpp.

◆ indexRegion_

int* OsiBranchingInformation::indexRegion_

Useful index region to go with usefulRegion_.

Definition at line 500 of file OsiBranchingObject.hpp.

◆ numberSolutions_

int OsiBranchingInformation::numberSolutions_

Number of solutions found.

Definition at line 502 of file OsiBranchingObject.hpp.

◆ numberBranchingSolutions_

int OsiBranchingInformation::numberBranchingSolutions_

Number of branching solutions found (i.e. exclude heuristics)

Definition at line 504 of file OsiBranchingObject.hpp.

◆ depth_

int OsiBranchingInformation::depth_

Depth in tree.

Definition at line 506 of file OsiBranchingObject.hpp.

◆ owningSolution_

bool OsiBranchingInformation::owningSolution_

TEMP.

Definition at line 508 of file OsiBranchingObject.hpp.


The documentation for this class was generated from the following file: