next up previous
Next: Types of constraints and Up: BAC : A BCP Previous: Compilation and execution


Data structures

A few data structures are available within BCP and COIN. Two of them will appear in the example: a class implementing vectors and a class implementing matrices.

The class BCP_vec is an implementation of an array with elements of generic type T with facilities for resizing. If V is a BCP_vec$ <$T$ >$, the following functions are used:

See the documentation (file COIN/Bcp/include/BCP_vector.hpp) for the full description of this class.

The class CoinPackedMatrix implements a two dimensional matrix stored either by rows or by columns. For a CoinPackedMatrix M stored by rows, the following functions are used in the examples:

See the documentation (file COIN/Coin/include/coinPackedMatrix.hpp) for the full description of this class.


next up previous
Next: Types of constraints and Up: BAC : A BCP Previous: Compilation and execution
IP Seminar Series 2003-12-01