Macros | Functions
CouenneMatrix.cpp File Reference
#include "CoinHelperFunctions.hpp"
#include "CoinFinite.hpp"
#include <stdio.h>
#include "CouenneMatrix.hpp"
#include "CouenneExprConst.hpp"
Include dependency graph for CouenneMatrix.cpp:

Go to the source code of this file.

Macros

#define copy_vectors(from, to)
 
#define WRAP   20
 

Functions

void check_and_insert (int indMaj, int indMin, std::set< std::pair< int, CouenneSparseVector * >, CouenneExprMatrix::compare_pair_ind > &vecMaj, expression *elem)
 used by add_elem below More...
 

Macro Definition Documentation

#define copy_vectors (   from,
  to 
)
Value:
{ \
for (std::set <std::pair <int, CouenneSparseVector *>, CouenneExprMatrix::compare_pair_ind>::const_iterator \
rowIt = from. begin (); \
rowIt != from. end (); ++rowIt) { \
to . insert (std::pair <int, CouenneSparseVector *> (rowIt -> first, new CouenneSparseVector (*(rowIt -> second)))); \
} \
}
fint end
for(int i=0;i< nnz;i++)

Definition at line 44 of file CouenneMatrix.cpp.

#define WRAP   20

Definition at line 225 of file CouenneMatrix.cpp.

Function Documentation

void check_and_insert ( int  indMaj,
int  indMin,
std::set< std::pair< int, CouenneSparseVector * >, CouenneExprMatrix::compare_pair_ind > &  vecMaj,
expression elem 
)
inline

used by add_elem below

Definition at line 92 of file CouenneMatrix.cpp.