misc_util.hpp File Reference

#include <stdio.h>
#include <stdlib.h>
#include "OsiXxxSolverInterface.hpp"
#include "OsiSolverInterface.hpp"

Go to the source code of this file.

Classes

class  Stat
class  Timer

Defines

#define indexQ(i, j, n)   ((n) + (i) * (2*(n)-1-(i)) / 2 + (j))

Functions

void cpp_fprintvecINT (FILE *, char const *, const int *, int, const int)
void cpp_fprintvecINT (FILE *, char const *, const int *, int)
void cpp_printvecINT (char const *, const int *, int)
void cpp_printmatINT (char const *, const int **, int, int)
void cpp_printmatINT (char const *, int **, int, int)
void cpp_fprintmatINT (FILE *, char const *, const int **, int, int)
void cpp_fprintmatINT (FILE *, char const *, int **, int, int)
void cpp_printvecCHAR (char const *, const char *, int)
void cpp_printvecCHAR (char const *, char *, int)
void cpp_fprintvecCHAR (FILE *, char const *, const char *, int)
void cpp_fprintvecCHAR (FILE *, char const *, char *, int)
void cpp_fprintvecDBL (FILE *, char const *, const double *, const int, const int, char const *)
void cpp_fprintvecDBL (FILE *, char const *, const double *, const int, const int, const int, const int)
void cpp_fprintvecDBLg (FILE *, char const *, const double *, const int, const int, const int, const int)
void cpp_fprintvecDBL (FILE *, char const *, const double *, const int)
void cpp_printvecDBL (char const *, const double *, const int)
void cpp_printmatDBL (char const *, const double **, int, int)
void cpp_printmatDBL (char const *, double **, int, int)
void cpp_fprintvecDBL (FILE *, char const *, const double *, char const *)
void cpp_fprintvecDBL (FILE *, char const *, double *, int)
void cpp_fprintvecDBLg (FILE *, char const *, const double *, const int, const int, const int)
void cpp_fprintmatDBL (FILE *, char const *, const double **, int, int)
void cpp_fprintmatDBL (FILE *, char const *, double **, int, int)
void cpp_myfree_and_null (char **)
double cpp_genalea (int *)
void cpp_quicksort_dec (int, int, int *, double *)
void cpp_quicksortINT_dec (int, int, int *, int *)
void cpp_quicksort_inc (int, int, int *, double *)
void cpp_quicksortINT_inc (int, int, int *, int *)
void print_barQ (FILE *f, char *header, double **Q, const double *b, const int n)
void get_vec_from_matbar (double **mat, const int dim, double *v, const int include_entry_00)
void get_mat_from_vec (const double *v, const int n, const double entry_00, double **mat)
void print_mat_from_vec (FILE *f, char *header, const double *v, const int n, const double entry_00)
void get_LPsol_vec_from_vvT (const double *v, const int n, double *vec, const int include_entry_00)
void get_mat_from_vvT (const double *v, const int n, double **mat)
void print_mat_from_vvT (FILE *f, char *header, const double *v, const int n)
void fprintvecmat (FILE *f, char *header, const double *v, const int n, const double entry_00)
void check_prod_row_barQ (double **Q, const double *b, const int n, const OsiSolverInterface *si, const int from)
void heur_sol_eigenv_Q (const int n, double *b, double **Q, double *heur_sol, double *heur_sol_val)

Define Documentation

#define indexQ ( i,
j,
 )     ((n) + (i) * (2*(n)-1-(i)) / 2 + (j))

Definition at line 18 of file misc_util.hpp.


Function Documentation

void cpp_fprintvecINT ( FILE *  ,
char const *  ,
const int *  ,
int  ,
const   int 
)
void cpp_fprintvecINT ( FILE *  ,
char const *  ,
const int *  ,
int   
)
void cpp_printvecINT ( char const *  ,
const int *  ,
int   
)
void cpp_printmatINT ( char const *  ,
const int **  ,
int  ,
int   
)
void cpp_printmatINT ( char const *  ,
int **  ,
int  ,
int   
)
void cpp_fprintmatINT ( FILE *  ,
char const *  ,
const int **  ,
int  ,
int   
)
void cpp_fprintmatINT ( FILE *  ,
char const *  ,
int **  ,
int  ,
int   
)
void cpp_printvecCHAR ( char const *  ,
const char *  ,
int   
)
void cpp_printvecCHAR ( char const *  ,
char *  ,
int   
)
void cpp_fprintvecCHAR ( FILE *  ,
char const *  ,
const char *  ,
int   
)
void cpp_fprintvecCHAR ( FILE *  ,
char const *  ,
char *  ,
int   
)
void cpp_fprintvecDBL ( FILE *  ,
char const *  ,
const double *  ,
const   int,
const   int,
char const *   
)
void cpp_fprintvecDBL ( FILE *  ,
char const *  ,
const double *  ,
const   int,
const   int,
const   int,
const   int 
)
void cpp_fprintvecDBLg ( FILE *  ,
char const *  ,
const double *  ,
const   int,
const   int,
const   int,
const   int 
)
void cpp_fprintvecDBL ( FILE *  ,
char const *  ,
const double *  ,
const   int 
)
void cpp_printvecDBL ( char const *  ,
const double *  ,
const   int 
)
void cpp_printmatDBL ( char const *  ,
const double **  ,
int  ,
int   
)
void cpp_printmatDBL ( char const *  ,
double **  ,
int  ,
int   
)
void cpp_fprintvecDBL ( FILE *  ,
char const *  ,
const double *  ,
char const *   
)
void cpp_fprintvecDBL ( FILE *  ,
char const *  ,
double *  ,
int   
)
void cpp_fprintvecDBLg ( FILE *  ,
char const *  ,
const double *  ,
const   int,
const   int,
const   int 
)
void cpp_fprintmatDBL ( FILE *  ,
char const *  ,
const double **  ,
int  ,
int   
)
void cpp_fprintmatDBL ( FILE *  ,
char const *  ,
double **  ,
int  ,
int   
)
void cpp_myfree_and_null ( char **   ) 
double cpp_genalea ( int *   ) 
void cpp_quicksort_dec ( int  ,
int  ,
int *  ,
double *   
)
void cpp_quicksortINT_dec ( int  ,
int  ,
int *  ,
int *   
)
void cpp_quicksort_inc ( int  ,
int  ,
int *  ,
double *   
)
void cpp_quicksortINT_inc ( int  ,
int  ,
int *  ,
int *   
)
void print_barQ ( FILE *  f,
char *  header,
double **  Q,
const double *  b,
const int  n 
)
void get_vec_from_matbar ( double **  mat,
const int  dim,
double *  v,
const int  include_entry_00 
)
void get_mat_from_vec ( const double *  v,
const int  n,
const double  entry_00,
double **  mat 
)
void print_mat_from_vec ( FILE *  f,
char *  header,
const double *  v,
const int  n,
const double  entry_00 
)
void get_LPsol_vec_from_vvT ( const double *  v,
const int  n,
double *  vec,
const int  include_entry_00 
)
void get_mat_from_vvT ( const double *  v,
const int  n,
double **  mat 
)
void print_mat_from_vvT ( FILE *  f,
char *  header,
const double *  v,
const int  n 
)
void fprintvecmat ( FILE *  f,
char *  header,
const double *  v,
const int  n,
const double  entry_00 
)
void check_prod_row_barQ ( double **  Q,
const double *  b,
const int  n,
const OsiSolverInterface *  si,
const int  from 
)
void heur_sol_eigenv_Q ( const int  n,
double *  b,
double **  Q,
double *  heur_sol,
double *  heur_sol_val 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 18 Jul 2013 for Couenne by  doxygen 1.6.1