#include "qs_config.h"
#include "QSopt_ex.h"
Include dependency graph for eg_sloan.c:

Go to the source code of this file.
Static Variables | |
| Set of static variables for this program. | |
| static unsigned | k1 = 3 |
| number of columns for first OA level | |
| static unsigned | k2 = 3 |
| number of columns for second OA level | |
| const char * | out_file = "output.lp" |
| file name output. | |
| static unsigned | s1 = 3 |
| range of values for first OA level | |
| static unsigned | s2 = 3 |
| range of values for second OA level | |
| char | strtmp [1024] |
| temporal string space | |
| static unsigned | t = 2 |
| Strength level required. | |
| static int | use_double = 0 |
| use dlouble floating point output | |
| static int | use_scaling = 1 |
| use (or not) scaling of the resulting LP | |
Functions | |
| void | Kpoly (unsigned x, unsigned s, unsigned j, unsigned m, mpz_t rop) |
| compute the krawtchouk ppolynomial, defined as
| |
| int | main (int argc, char **argv) |
| main function, here we build the LP, execute the options and exit | |
| static int | sl_parseargs (int argc, char **argv) |
| Display options to the screen. | |
| static void | sl_usage (char const *const s) |
| Display options to the screen. | |
| void Kpoly | ( | unsigned | x, | |
| unsigned | s, | |||
| unsigned | j, | |||
| unsigned | m, | |||
| mpz_t | rop | |||
| ) |
compute the krawtchouk ppolynomial, defined as
| x | the parameter of the function. | |
| s | the parameter of the function. | |
| j | the parameter of the function. | |
| m | the parameter of the function. | |
| rop | where to store the result |
Definition at line 113 of file eg_sloan.c.
Referenced by main().
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
main function, here we build the LP, execute the options and exit
Definition at line 146 of file eg_sloan.c.
References mpq_ILLlpdata::A, dbl_QSfree_prob(), dbl_QSwrite_prob(), EXutilSimplify(), k1, k2, Kpoly(), mpq_ILLmatrix::matsize, mpq_ILLmatrix::matval, mpq_ILL_MAXDOUBLE, mpq_QSchange_coef(), mpq_QScreate_prob(), mpq_QSfree_prob(), mpq_QSnew_col(), mpq_QSnew_row(), mpq_QSwrite_prob(), out_file, QS_MIN, QScopy_prob_mpq_dbl(), QSexactClear(), QSexactStart(), mpq_qsdata::qslp, QSopt_ex_version(), s1, s2, sl_parseargs(), strtmp, t, use_double, and use_scaling.
Here is the call graph for this function:

| static int sl_parseargs | ( | int | argc, | |
| char ** | argv | |||
| ) | [inline, static] |
Display options to the screen.
Definition at line 51 of file eg_sloan.c.
References k1, k2, out_file, s1, s2, sl_usage(), t, use_double, and use_scaling.
Referenced by main().
Here is the call graph for this function:

| static void sl_usage | ( | char const *const | s | ) | [inline, static] |
Display options to the screen.
Definition at line 29 of file eg_sloan.c.
Referenced by sl_parseargs().
unsigned k1 = 3 [static] |
number of columns for first OA level
Definition at line 12 of file eg_sloan.c.
Referenced by main(), and sl_parseargs().
unsigned k2 = 3 [static] |
number of columns for second OA level
Definition at line 14 of file eg_sloan.c.
Referenced by dbl_duplicate_cols(), dbl_duplicate_rows(), duplicate_cols(), duplicate_rows(), float128_duplicate_cols(), float128_duplicate_rows(), fp20_duplicate_cols(), fp20_duplicate_rows(), ldbl_duplicate_cols(), ldbl_duplicate_rows(), main(), mpf_duplicate_cols(), mpf_duplicate_rows(), mpq_duplicate_cols(), mpq_duplicate_rows(), and sl_parseargs().
| const char* out_file = "output.lp" |
file name output.
Definition at line 20 of file eg_sloan.c.
Referenced by main(), and sl_parseargs().
unsigned s1 = 3 [static] |
range of values for first OA level
Definition at line 8 of file eg_sloan.c.
Referenced by main(), and sl_parseargs().
unsigned s2 = 3 [static] |
range of values for second OA level
Definition at line 10 of file eg_sloan.c.
Referenced by main(), and sl_parseargs().
| char strtmp[1024] |
temporal string space
Definition at line 24 of file eg_sloan.c.
Referenced by dbl_ILLlib_print_x(), float128_ILLlib_print_x(), fp20_ILLlib_print_x(), ILLlib_print_x(), ldbl_ILLlib_print_x(), main(), mpf_ILLlib_print_x(), and mpq_ILLlib_print_x().
unsigned t = 2 [static] |
Strength level required.
Definition at line 22 of file eg_sloan.c.
Referenced by dbl_duplicate_cols(), dbl_duplicate_rows(), dbl_find_first_branch(), dbl_find_middle_branch(), dbl_find_penalty_branch(), dbl_ILLfct_update_dfeas(), dbl_ILLfct_update_dIIfeas(), dbl_ILLfct_update_pfeas(), dbl_ILLlib_strongbranch(), dbl_ILLratio_dI_test(), dbl_ILLratio_longdII_test(), dbl_ILLratio_pI_test(), dbl_ILLutil_EGlpNum_perm_quicksort(), dbl_process_bfs_bbnode(), dbl_select_EGlpNum_sort(), dbl_select_EGlpNum_sort_dsample(), dbl_select_EGlpNum_split(), duplicate_cols(), duplicate_rows(), find_first_branch(), find_middle_branch(), find_penalty_branch(), float128_duplicate_cols(), float128_duplicate_rows(), float128_find_first_branch(), float128_find_middle_branch(), float128_find_penalty_branch(), float128_ILLfct_update_dfeas(), float128_ILLfct_update_dIIfeas(), float128_ILLfct_update_pfeas(), float128_ILLlib_strongbranch(), float128_ILLratio_dI_test(), float128_ILLratio_longdII_test(), float128_ILLratio_pI_test(), float128_ILLutil_EGlpNum_perm_quicksort(), float128_process_bfs_bbnode(), float128_select_EGlpNum_sort(), float128_select_EGlpNum_sort_dsample(), float128_select_EGlpNum_split(), fp20_duplicate_cols(), fp20_duplicate_rows(), fp20_find_first_branch(), fp20_find_middle_branch(), fp20_find_penalty_branch(), fp20_ILLfct_update_dfeas(), fp20_ILLfct_update_dIIfeas(), fp20_ILLfct_update_pfeas(), fp20_ILLlib_strongbranch(), fp20_ILLratio_dI_test(), fp20_ILLratio_longdII_test(), fp20_ILLratio_pI_test(), fp20_ILLutil_EGlpNum_perm_quicksort(), fp20_process_bfs_bbnode(), fp20_select_EGlpNum_sort(), fp20_select_EGlpNum_sort_dsample(), fp20_select_EGlpNum_split(), ILL_print(), ILLfct_update_dfeas(), ILLfct_update_dIIfeas(), ILLfct_update_pfeas(), ILLlib_strongbranch(), ILLratio_dI_test(), ILLratio_longdII_test(), ILLratio_pI_test(), ILLutil_double_perm_quicksort(), ILLutil_EGlpNum_perm_quicksort(), ILLutil_init_timer(), ILLutil_int_array_quicksort(), ILLutil_int_perm_quicksort(), ILLutil_lprand(), ILLutil_resume_timer(), ILLutil_start_timer(), ILLutil_stop_timer(), ILLutil_str_perm_quicksort(), ILLutil_suspend_timer(), ILLutil_total_timer(), ILLutil_zeit(), ldbl_duplicate_cols(), ldbl_duplicate_rows(), ldbl_find_first_branch(), ldbl_find_middle_branch(), ldbl_find_penalty_branch(), ldbl_ILLfct_update_dfeas(), ldbl_ILLfct_update_dIIfeas(), ldbl_ILLfct_update_pfeas(), ldbl_ILLlib_strongbranch(), ldbl_ILLratio_dI_test(), ldbl_ILLratio_longdII_test(), ldbl_ILLratio_pI_test(), ldbl_ILLutil_EGlpNum_perm_quicksort(), ldbl_process_bfs_bbnode(), ldbl_select_EGlpNum_sort(), ldbl_select_EGlpNum_sort_dsample(), ldbl_select_EGlpNum_split(), main(), mpf_duplicate_cols(), mpf_duplicate_rows(), mpf_find_first_branch(), mpf_find_middle_branch(), mpf_find_penalty_branch(), mpf_ILLfct_update_dfeas(), mpf_ILLfct_update_dIIfeas(), mpf_ILLfct_update_pfeas(), mpf_ILLlib_strongbranch(), mpf_ILLratio_dI_test(), mpf_ILLratio_longdII_test(), mpf_ILLratio_pI_test(), mpf_ILLutil_EGlpNum_perm_quicksort(), mpf_process_bfs_bbnode(), mpf_select_EGlpNum_sort(), mpf_select_EGlpNum_sort_dsample(), mpf_select_EGlpNum_split(), mpq_duplicate_cols(), mpq_duplicate_rows(), mpq_find_first_branch(), mpq_find_middle_branch(), mpq_find_penalty_branch(), mpq_ILLfct_update_dfeas(), mpq_ILLfct_update_dIIfeas(), mpq_ILLfct_update_pfeas(), mpq_ILLlib_strongbranch(), mpq_ILLratio_dI_test(), mpq_ILLratio_longdII_test(), mpq_ILLratio_pI_test(), mpq_ILLutil_EGlpNum_perm_quicksort(), mpq_process_bfs_bbnode(), mpq_select_EGlpNum_sort(), mpq_select_EGlpNum_sort_dsample(), mpq_select_EGlpNum_split(), process_bfs_bbnode(), select_EGlpNum_sort(), select_EGlpNum_sort_dsample(), select_EGlpNum_split(), select_sort(), select_sort_dsample(), select_split(), and sl_parseargs().
int use_double = 0 [static] |
use dlouble floating point output
Definition at line 18 of file eg_sloan.c.
Referenced by main(), and sl_parseargs().
int use_scaling = 1 [static] |
use (or not) scaling of the resulting LP
Definition at line 16 of file eg_sloan.c.
Referenced by main(), and sl_parseargs().
1.4.7