Objective Class Reference

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

#include <OSInstance.h>

Collaboration diagram for Objective:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Objective ()
 The Objective class constructor.
 ~Objective ()
 The Objective class destructor.
bool IsEqual (Objective *that)
 A function to check for the equality of two objects.
 Objective ()
 The Objective class constructor.
 ~Objective ()
 The Objective class destructor.

Public Attributes

std::string name
 the name of the objective function
std::string maxOrMin
 declare the objective function to be a max or a min
double constant
 constant is the constant term added to the objective function, 0 by default
double weight
 weight is the weight applied to the given objective function, 1.0 by default
int numberOfObjCoef
 numberOfObjCoef is the number of variables with a nonzero objective function coefficient
ObjCoef ** coef
 coef is pointer to an array of ObjCoef object pointers

Detailed Description

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

Definition at line 175 of file OSInstance.h.


Constructor & Destructor Documentation

Objective::Objective (  ) 

The Objective class constructor.

Definition at line 509 of file OSInstance.cpp.

Objective::~Objective (  ) 

The Objective class destructor.

Definition at line 523 of file OSInstance.cpp.

Objective::Objective (  ) 

The Objective class constructor.

Objective::~Objective (  ) 

The Objective class destructor.


Member Function Documentation

bool Objective::IsEqual ( Objective that  ) 

A function to check for the equality of two objects.

Definition at line 5780 of file OSInstance.cpp.


Member Data Documentation

std::string Objective::name

the name of the objective function

Definition at line 186 of file OSInstance.h.

std::string Objective::maxOrMin

declare the objective function to be a max or a min

Definition at line 191 of file OSInstance.h.

constant is the constant term added to the objective function, 0 by default

Definition at line 196 of file OSInstance.h.

weight is the weight applied to the given objective function, 1.0 by default

Definition at line 201 of file OSInstance.h.

numberOfObjCoef is the number of variables with a nonzero objective function coefficient

Definition at line 206 of file OSInstance.h.

coef is pointer to an array of ObjCoef object pointers

Definition at line 210 of file OSInstance.h.


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

Generated on 16 Feb 2012 by  doxygen 1.6.1