dbl_util.h File Reference

#include "machdefs.h"
#include "config.h"
#include "sortrus_common.h"
#include "allocrus.h"
#include "urandom.h"
#include "zeit.h"
#include "bgetopt.h"

Include dependency graph for dbl_util.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define dbl_EGLPNUM_SWAP(a, b, t)   ((dbl_EGlpNumCopy(t,a)),(dbl_EGlpNumCopy(a,b)),(dbl_EGlpNumCopy(b,t)))
#define dbl_FALSE   0
#define dbl_ILL_OURABS(a)   (((a) >= 0) ? (a) : -(a))
#define dbl_ILL_SWAP(a, b, t)   (((t)=(a)),((a)=(b)),((b)=(t)))
#define dbl_ILL_UTIL_STR(new, str)
#define dbl_QSLIB_INTERFACE   extern
#define dbl_TRUE   1

Typedefs

typedef char dbl_ILLbool

Functions

int dbl_ILLutil_array_index (char *list[], int n, const char *name)
int dbl_ILLutil_index (const char *list[], const char *name)
unsigned int dbl_ILLutil_nextprime (unsigned int x)
double dbl_ILLutil_norm_sqr (double *v, int len)
double dbl_ILLutil_our_ceil (double x)
double dbl_ILLutil_our_floor (double x)
double dbl_ILLutil_our_frac (double x)
int dbl_ILLutil_our_gcd (int a, int b)
int dbl_ILLutil_our_lcm (int a, int b)
int dbl_ILLutil_our_log2 (int a)
char * dbl_ILLutil_str (const char *str)
int dbl_ILLutil_strcasecmp (const char *s1, const char *s2)
const char * dbl_ILLutil_strchr (const char *s, int c)
int dbl_ILLutil_strncasecmp (const char *s1, const char *s2, size_t n)


Define Documentation

#define dbl_EGLPNUM_SWAP ( a,
b,
t   )     ((dbl_EGlpNumCopy(t,a)),(dbl_EGlpNumCopy(a,b)),(dbl_EGlpNumCopy(b,t)))

Definition at line 83 of file dbl_util.h.

Referenced by dbl_dense_swap(), dbl_elim(), dbl_move_pivot_col(), dbl_move_pivot_row(), and dbl_remove_row_nz().

#define dbl_FALSE   0

Definition at line 79 of file dbl_util.h.

Referenced by dbl_ILLdata_warn(), dbl_ILLlp_warn(), and dbl_ILLmps_warn().

#define dbl_ILL_OURABS (  )     (((a) >= 0) ? (a) : -(a))

Definition at line 85 of file dbl_util.h.

#define dbl_ILL_SWAP ( a,
b,
t   )     (((t)=(a)),((a)=(b)),((b)=(t)))

Definition at line 82 of file dbl_util.h.

Referenced by dbl_dense_swap(), dbl_getCmd(), dbl_ILLutil_EGlpNum_perm_quicksort(), dbl_ILLutil_our_gcd(), dbl_move_pivot_col(), dbl_move_pivot_row(), dbl_remove_row_nz(), dbl_select_EGlpNum_split(), and dbl_transpose().

#define dbl_ILL_UTIL_STR ( new,
str   ) 

Value:

{ new = dbl_ILLutil_str(str); \
      if (str != NULL) { ILL_CHECKnull(new, "out of memeory"); } }

Definition at line 96 of file dbl_util.h.

Referenced by dbl_convert_rawlpdata_to_lpdata(), dbl_fix_names(), dbl_get_row_col_name(), dbl_ILLlib_addcol(), dbl_ILLlib_readbasis(), dbl_ILLwrite_mps(), dbl_QScopy_prob(), dbl_QSget_objname(), dbl_QSget_prob(), dbl_QSget_probname(), dbl_read_mps_name(), dbl_read_mps_objname(), dbl_read_mps_refrow(), dbl_read_problem_name(), dbl_set_field_name(), dbl_transferColNamesLowerUpperIntMarker(), and dbl_transferSenseRhsRowNames().

#define dbl_QSLIB_INTERFACE   extern

Definition at line 40 of file dbl_util.h.

#define dbl_TRUE   1

Definition at line 80 of file dbl_util.h.

Referenced by dbl_ILLdata_error(), dbl_ILLlp_error(), and dbl_ILLmps_error().


Typedef Documentation

typedef char dbl_ILLbool

Definition at line 77 of file dbl_util.h.


Function Documentation

int dbl_ILLutil_array_index ( char *  list[],
int  n,
const char *  name 
)

Definition at line 252 of file dbl_util.c.

References NULL.

Referenced by dbl_del_row_or_col().

int dbl_ILLutil_index ( const char *  list[],
const char *  name 
)

Definition at line 236 of file dbl_util.c.

References NULL.

Referenced by dbl_add_bounds(), dbl_getCmd(), dbl_ILLlib_readbasis(), and dbl_read_mps_section().

unsigned int dbl_ILLutil_nextprime ( unsigned int  x  ) 

Definition at line 101 of file dbl_util.c.

References dbl_isprime().

Here is the call graph for this function:

double dbl_ILLutil_norm_sqr ( double *  v,
int  len 
)

Definition at line 183 of file dbl_util.c.

double dbl_ILLutil_our_ceil ( double  x  ) 

double dbl_ILLutil_our_floor ( double  x  ) 

double dbl_ILLutil_our_frac ( double  x  ) 

int dbl_ILLutil_our_gcd ( int  a,
int  b 
)

int dbl_ILLutil_our_lcm ( int  a,
int  b 
)

int dbl_ILLutil_our_log2 ( int  a  ) 

Definition at line 195 of file dbl_util.c.

Referenced by dbl_ILLprice_build_heap().

char* dbl_ILLutil_str ( const char *  str  ) 

Definition at line 269 of file dbl_util.c.

References ILL_SAFE_MALLOC_no_rval, and NULL.

int dbl_ILLutil_strcasecmp ( const char *  s1,
const char *  s2 
)

Definition at line 221 of file dbl_util.c.

Referenced by dbl_read_minmax(), and dbl_read_problem_name().

const char* dbl_ILLutil_strchr ( const char *  s,
int  c 
)

Definition at line 208 of file dbl_util.c.

References NULL.

Referenced by dbl_is_marker_line().

int dbl_ILLutil_strncasecmp ( const char *  s1,
const char *  s2,
size_t  n 
)

Definition at line 228 of file dbl_util.c.


Generated on Thu Mar 29 09:34:56 2012 for QSopt_ex by  doxygen 1.4.7