fp20_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 fp20_util.h:

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

Go to the source code of this file.

Defines

#define fp20_EGLPNUM_SWAP(a, b, t)   ((fp20_EGlpNumCopy(t,a)),(fp20_EGlpNumCopy(a,b)),(fp20_EGlpNumCopy(b,t)))
#define fp20_FALSE   0
#define fp20_ILL_OURABS(a)   (((a) >= 0) ? (a) : -(a))
#define fp20_ILL_SWAP(a, b, t)   (((t)=(a)),((a)=(b)),((b)=(t)))
#define fp20_ILL_UTIL_STR(new, str)
#define fp20_QSLIB_INTERFACE   extern
#define fp20_TRUE   1

Typedefs

typedef char fp20_ILLbool

Functions

int fp20_ILLutil_array_index (char *list[], int n, const char *name)
int fp20_ILLutil_index (const char *list[], const char *name)
unsigned int fp20_ILLutil_nextprime (unsigned int x)
double fp20_ILLutil_norm_sqr (double *v, int len)
double fp20_ILLutil_our_ceil (double x)
double fp20_ILLutil_our_floor (double x)
double fp20_ILLutil_our_frac (double x)
int fp20_ILLutil_our_gcd (int a, int b)
int fp20_ILLutil_our_lcm (int a, int b)
int fp20_ILLutil_our_log2 (int a)
char * fp20_ILLutil_str (const char *str)
int fp20_ILLutil_strcasecmp (const char *s1, const char *s2)
const char * fp20_ILLutil_strchr (const char *s, int c)
int fp20_ILLutil_strncasecmp (const char *s1, const char *s2, size_t n)


Define Documentation

#define fp20_EGLPNUM_SWAP ( a,
b,
t   )     ((fp20_EGlpNumCopy(t,a)),(fp20_EGlpNumCopy(a,b)),(fp20_EGlpNumCopy(b,t)))

Definition at line 83 of file fp20_util.h.

Referenced by fp20_dense_swap(), fp20_elim(), fp20_move_pivot_col(), fp20_move_pivot_row(), and fp20_remove_row_nz().

#define fp20_FALSE   0

Definition at line 79 of file fp20_util.h.

Referenced by fp20_ILLdata_warn(), fp20_ILLlp_warn(), and fp20_ILLmps_warn().

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

Definition at line 85 of file fp20_util.h.

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

Definition at line 82 of file fp20_util.h.

Referenced by fp20_dense_swap(), fp20_getCmd(), fp20_ILLutil_EGlpNum_perm_quicksort(), fp20_ILLutil_our_gcd(), fp20_move_pivot_col(), fp20_move_pivot_row(), fp20_remove_row_nz(), fp20_select_EGlpNum_split(), and fp20_transpose().

#define fp20_ILL_UTIL_STR ( new,
str   ) 

Value:

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

Definition at line 96 of file fp20_util.h.

Referenced by fp20_convert_rawlpdata_to_lpdata(), fp20_fix_names(), fp20_get_row_col_name(), fp20_ILLlib_addcol(), fp20_ILLlib_readbasis(), fp20_ILLwrite_mps(), fp20_QScopy_prob(), fp20_QSget_objname(), fp20_QSget_prob(), fp20_QSget_probname(), fp20_read_mps_name(), fp20_read_mps_objname(), fp20_read_mps_refrow(), fp20_read_problem_name(), fp20_set_field_name(), fp20_transferColNamesLowerUpperIntMarker(), and fp20_transferSenseRhsRowNames().

#define fp20_QSLIB_INTERFACE   extern

Definition at line 40 of file fp20_util.h.

#define fp20_TRUE   1

Definition at line 80 of file fp20_util.h.

Referenced by fp20_ILLdata_error(), fp20_ILLlp_error(), and fp20_ILLmps_error().


Typedef Documentation

typedef char fp20_ILLbool

Definition at line 77 of file fp20_util.h.


Function Documentation

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

Definition at line 252 of file fp20_util.c.

References NULL.

Referenced by fp20_del_row_or_col().

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

Definition at line 236 of file fp20_util.c.

References NULL.

Referenced by fp20_add_bounds(), fp20_getCmd(), fp20_ILLlib_readbasis(), and fp20_read_mps_section().

unsigned int fp20_ILLutil_nextprime ( unsigned int  x  ) 

Definition at line 101 of file fp20_util.c.

References fp20_isprime().

Here is the call graph for this function:

double fp20_ILLutil_norm_sqr ( double *  v,
int  len 
)

Definition at line 183 of file fp20_util.c.

double fp20_ILLutil_our_ceil ( double  x  ) 

double fp20_ILLutil_our_floor ( double  x  ) 

double fp20_ILLutil_our_frac ( double  x  ) 

int fp20_ILLutil_our_gcd ( int  a,
int  b 
)

int fp20_ILLutil_our_lcm ( int  a,
int  b 
)

int fp20_ILLutil_our_log2 ( int  a  ) 

Definition at line 195 of file fp20_util.c.

Referenced by fp20_ILLprice_build_heap().

char* fp20_ILLutil_str ( const char *  str  ) 

Definition at line 269 of file fp20_util.c.

References ILL_SAFE_MALLOC_no_rval, and NULL.

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

Definition at line 221 of file fp20_util.c.

Referenced by fp20_read_minmax(), and fp20_read_problem_name().

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

Definition at line 208 of file fp20_util.c.

References NULL.

Referenced by fp20_is_marker_line().

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

Definition at line 228 of file fp20_util.c.


Generated on Thu Mar 29 09:39:20 2012 for QSopt_ex by  doxygen 1.4.7