cplexlpcompare
Compares two LP files created in cplex format and dumps differences to files.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
lpcompare::LPModel Class Reference

Represents an LP model composed of a bounds, constraints and variables of different kinds. More...

#include <LPModel.h>

Public Member Functions

 LPModel ()
 
 ~LPModel ()
 
bool ReadModel (std::string filename)
 Parses an LP file to build an LPModel instance. More...
 

Public Attributes

std::vector< std::string > Generals
 
std::vector< std::string > Binaries
 
std::vector< std::string > SosVars
 
std::vector< BoundBounds
 
std::vector< ConstraintConstraints
 

Detailed Description

Represents an LP model composed of a bounds, constraints and variables of different kinds.

Definition at line 49 of file LPModel.h.

Constructor & Destructor Documentation

lpcompare::LPModel::LPModel ( )
inline

Definition at line 85 of file LPModel.h.

lpcompare::LPModel::~LPModel ( )
inline

Definition at line 92 of file LPModel.h.

Member Function Documentation

bool lpcompare::LPModel::ReadModel ( std::string  filename)

Parses an LP file to build an LPModel instance.

Parameters
filenameFilename to read data from.
Returns
true model is read successfully.

Definition at line 61 of file LPModel.cpp.

Member Data Documentation

std::vector<std::string> lpcompare::LPModel::Binaries

Definition at line 80 of file LPModel.h.

std::vector<Bound> lpcompare::LPModel::Bounds

Definition at line 82 of file LPModel.h.

std::vector<Constraint> lpcompare::LPModel::Constraints

Definition at line 83 of file LPModel.h.

std::vector<std::string> lpcompare::LPModel::Generals

Definition at line 79 of file LPModel.h.

std::vector<std::string> lpcompare::LPModel::SosVars

Definition at line 81 of file LPModel.h.


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