![]() |
CMR
1.3.0
|
#include "interface.h"
#include <cmr/env.h>
#include "total_unimodularity.hpp"
#include "unimodularity.hpp"
#include <boost/numeric/ublas/io.hpp>
Functions | |
CMR_ERROR | CMRinterfaceTU (CMR *cmr, CMR_CHRMAT *matrix, bool *pisTU, CMR_DEC **pdec, CMR_SUBMAT **psubmatrix) |
CMR_ERROR | CMRinterfaceKModular (CMR *cmr, CMR_CHRMAT *matrix, size_t *pk) |
CMR_ERROR CMRinterfaceKModular | ( | CMR * | cmr, |
CMR_CHRMAT * | matrix, | ||
size_t * | pk | ||
) |
cmr | CMR environment |
matrix | Matrix \( M \). |
pk | Pointer for storing \( k \) if \( M \) is \( k \)-modular, or 0 otherwise . |
CMR_ERROR CMRinterfaceTU | ( | CMR * | cmr, |
CMR_CHRMAT * | matrix, | ||
bool * | pisTU, | ||
CMR_DEC ** | pdec, | ||
CMR_SUBMAT ** | psubmatrix | ||
) |
cmr | CMR environment |
matrix | Matrix \( M \). |
pisTU | Pointer for storing whether \( M \) is TU. |
pdec | Pointer for storing the decomposition if \( M \) is TU (may be NULL ). |
psubmatrix | Pointer for storing a bad submatrix with a bad determinant (may be NULL ). |