My Project
ObjCoef Class Reference

The in-memory representation of the objective function <coef> element. More...

#include <OSInstance.h>

Public Member Functions

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

Public Attributes

int idx
 idx is the index of the variable corresponding to the coefficient
 
double value
 value is the value of the objective function coefficient corresponding to the variable with index idx
 

Detailed Description

The in-memory representation of the objective function <coef> element.

Definition at line 110 of file OSInstance.h.

Constructor & Destructor Documentation

◆ ObjCoef() [1/2]

ObjCoef::ObjCoef ( )

The ObjCoef class constructor.

Definition at line 608 of file OSInstance.cpp.

◆ ~ObjCoef() [1/2]

ObjCoef::~ObjCoef ( )

The ObjCoef class destructor.

Definition at line 617 of file OSInstance.cpp.

◆ ObjCoef() [2/2]

ObjCoef::ObjCoef ( )

The ObjCoef class constructor.

◆ ~ObjCoef() [2/2]

ObjCoef::~ObjCoef ( )

The ObjCoef class destructor.

Member Function Documentation

◆ IsEqual()

bool ObjCoef::IsEqual ( ObjCoef * that)

A function to check for the equality of two objects.

Definition at line 8302 of file OSInstance.cpp.

Member Data Documentation

◆ idx

int ObjCoef::idx

idx is the index of the variable corresponding to the coefficient

Definition at line 123 of file OSInstance.h.

◆ value

double ObjCoef::value

value is the value of the objective function coefficient corresponding to the variable with index idx

Definition at line 128 of file OSInstance.h.


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