opbgen Class Reference

Output module for writing OPBDP instances. More...

#include <opbgen.hh>

Inheritance diagram for opbgen:
Inheritance graph
Collaboration diagram for opbgen:
Collaboration graph

List of all members.

Public Member Functions

 opbgen (const driver &d)
void write (std::ostream &out)
 Write OPBDP instance to output stream.

Detailed Description

Output module for writing OPBDP instances.

This class writes a set of pseudo-boolean inequalities. The range of non-binary variables is expressed using binarization.

Definition at line 36 of file opbgen.hh.

Constructor & Destructor Documentation

opbgen::opbgen ( const driver d  ) 


This constructor simply passes its parameter through to the base class.

d the driver, used to access configuration settings and input data.

Definition at line 47 of file opbgen.cc.

Member Function Documentation

void opbgen::write ( std::ostream &  out  )  [virtual]

Write OPBDP instance to output stream.

This is the only interesting method in this whole class.

out the stream to which output will be written.

Reimplemented from mipgen.

Definition at line 57 of file opbgen.cc.

References mipgen::col_names, mipgen::drv, driver::gamma_constraint, bounds::infinite, mipgen::matrix, driver::max_order, mipgen::modcount, mipgen::realmod(), mipgen::row_bounds, and mipgen::row_names.

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

Generated on Fri Aug 21 08:15:08 2009 for mqn2mps by  doxygen 1.6.0