- Main Page
- Namespaces
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# Objectives Class Reference

The in-memory representation of the <objectives> element. More...

`#include <OSInstance.h>`

Collaboration diagram for Objectives:

[legend]
List of all members.

## Public Member Functions
| Objectives ()
| The Objectives class constructor.
| ~Objectives ()
| The Objectives class destructor.
bool | IsEqual (Objectives *that)
| A function to check for the equality of two objects.
| Objectives ()
| The Objectives class constructor.
| ~Objectives ()
| The Objectives class destructor.
## Public Attributes
int | numberOfObjectives
| numberOfObjectives is the number of objective functions in the instance
Objective ** | obj
| coef is pointer to an array of ObjCoef object pointers
Objective ** | obj
| coef is pointer to an array of ObjCoef object pointers

## Detailed Description

The in-memory representation of the <objectives> element.

Definition at line 218 of file OSInstance.h.

## Constructor & Destructor Documentation

Objectives::Objectives | ( |  | ) |

The Objectives class constructor.

Definition at line 501 of file OSInstance.cpp.

References numberOfObjectives, and obj.

Objectives::~Objectives | ( |  | ) |

The Objectives class destructor.

Definition at line 510 of file OSInstance.cpp.

References numberOfObjectives, and obj.

Objectives::Objectives | ( |  | ) |

The Objectives class constructor.

Objectives::~Objectives | ( |  | ) |

The Objectives class destructor.

## Member Function Documentation

bool Objectives::IsEqual | ( | Objectives * | that | ) |

A function to check for the equality of two objects.

Definition at line 5055 of file OSInstance.cpp.

References numberOfObjectives, and obj.

## Member Data Documentation

int Objectives::numberOfObjectives

numberOfObjectives is the number of objective functions in the instance

Definition at line 230 of file OSInstance.h.

Referenced by LindoSolver::dataEchoCheck(), KnitroSolver::dataEchoCheck(), IpoptSolver::dataEchoCheck(), CoinSolver::dataEchoCheck(), BonminSolver::dataEchoCheck(), OSInstance::getObjectiveNumber(), OSInstance::initializeNonLinearStructures(), IsEqual(), Objectives(), OSInstance::setObjectiveNumber(), ~Objectives(), and OSInstance::~OSInstance().

Objective** Objectives::obj

coef is pointer to an array of ObjCoef object pointers

Definition at line 234 of file OSInstance.h.

Referenced by LindoSolver::dataEchoCheck(), KnitroSolver::dataEchoCheck(), IpoptSolver::dataEchoCheck(), CoinSolver::dataEchoCheck(), BonminSolver::dataEchoCheck(), BonminProblem::eval_f(), BonminProblem::eval_grad_f(), IpoptProblem::get_scaling_parameters(), OSInstance::getDenseObjectiveCoefficients(), IsEqual(), main(), Objectives(), OSInstance::processObjectives(), OSInstance::setObjectiveNumber(), IpoptSolver::setSolverOptions(), OSDipBlockSlpSolver::solve(), OSDipBlockCoinSolver::solve(), and ~Objectives().

Objective** Objectives::obj

coef is pointer to an array of ObjCoef object pointers

Definition at line 268 of file OSInstance.h.

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

- /home/coin/SVN-release/OS-2.3.5/OS/src/OSCommonInterfaces/OSInstance.h
- /home/coin/SVN-release/OS-2.3.5/OS/v2.0/OSInstance.h
- /home/coin/SVN-release/OS-2.3.5/OS/src/OSCommonInterfaces/OSInstance.cpp