#include <OSInstance.h>
Collaboration diagram for Objective:

Public Member Functions | |
| Objective () | |
| The Objective class constructor. | |
| ~Objective () | |
| The Objective class destructor. | |
| 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 | |
| ObjCoef ** | coef |
| coef is pointer to an array of ObjCoef object pointers | |
Definition at line 212 of file OSInstance.h.
| Objective::Objective | ( | ) |
| Objective::~Objective | ( | ) |
The Objective class destructor.
Definition at line 479 of file OSInstance.cpp.
References coef, and numberOfObjCoef.
| Objective::Objective | ( | ) |
The Objective class constructor.
| Objective::~Objective | ( | ) |
The Objective class destructor.
| std::string Objective::name |
the name of the objective function
Definition at line 222 of file OSInstance.h.
Referenced by OSInstance::processObjectives(), and OSiLWriter::writeOSiL().
| std::string Objective::maxOrMin |
declare the objective function to be a max or a min
Definition at line 227 of file OSInstance.h.
Referenced by BonminProblem::eval_f(), BonminProblem::eval_grad_f(), IpoptProblem::get_scaling_parameters(), OSInstance::processObjectives(), IpoptSolver::setSolverOptions(), and OSiLWriter::writeOSiL().
| double Objective::constant |
constant is the constant term added to the objective function, 0 by default
Definition at line 232 of file OSInstance.h.
Referenced by OSInstance::processObjectives(), and OSiLWriter::writeOSiL().
| double Objective::weight |
weight is the weight applied to the given objective function, 1.0 by default
Definition at line 237 of file OSInstance.h.
Referenced by OSInstance::processObjectives(), and OSiLWriter::writeOSiL().
numberOfObjCoef is the number of variables with a nonzero objective function coefficient
Definition at line 242 of file OSInstance.h.
Referenced by OSInstance::processObjectives(), OSiLWriter::writeOSiL(), and ~Objective().
coef is pointer to an array of ObjCoef object pointers
Definition at line 246 of file OSInstance.h.
Referenced by OS_lp::createcutsforbearcat(), main(), OSInstance::processObjectives(), OSiLWriter::writeOSiL(), and ~Objective().
1.4.7