DyLP
1.10.4
|
Go to the source code of this file.
Classes | |
struct | basisel_struct |
struct | basis_struct |
struct | lpprob_struct |
struct | lptols_struct |
struct | lpopts_struct |
struct | lpstats_struct |
Macros | |
#define | ladPRIMFEAS 1<<0 |
#define | ladPRIMALCHK 1<<1 |
#define | ladPFQUIET 1<<2 |
#define | ladDUALFEAS 1<<3 |
#define | ladDUALCHK 1<<4 |
#define | ladDFQUIET 1<<5 |
#define | ladDUALS 1<<6 |
#define | ladPRIMALS 1<<7 |
#define | ladFACTOR 1<<8 |
#define | ladEXPAND 1<<9 |
#define | vstatINV 0 |
#define | vstatBFX 1<<0 |
#define | vstatBUB 1<<1 |
#define | vstatB 1<<2 |
#define | vstatBLB 1<<3 |
#define | vstatBFR 1<<4 |
#define | vstatNBFX 1<<5 |
#define | vstatNBUB 1<<6 |
#define | vstatNBLB 1<<7 |
#define | vstatNBFR 1<<8 |
#define | vstatSB 1<<9 |
#define | vstatBUUB 1<<10 |
#define | vstatBLLB 1<<11 |
#define | vstatNOPIVOT ((flags) 1<<(sizeof(flags)*8-2)) |
#define | vstatNOPER ((flags) 1<<(sizeof(flags)*8-3)) |
#define | vstatNOLOAD ((flags) 1<<(sizeof(flags)*8-4)) |
#define | vstatBASIC (vstatBFX|vstatBUUB|vstatBUB|vstatB|vstatBLB|vstatBLLB|vstatBFR) |
#define | vstatNONBASIC (vstatNBFX|vstatNBUB|vstatNBLB) |
#define | vstatEXOTIC (vstatSB|vstatNBFR) |
#define | vstatSTATUS (vstatBASIC|vstatNONBASIC|vstatEXOTIC) |
#define | vstatQUALS (vstatNOPIVOT|vstatNOPER|vstatNOLOAD) |
#define | VALID_STATUS(zz_status_zz) |
#define | lpctlNOFREE 1<<0 |
#define | lpctlONLYFREE 1<<1 |
#define | lpctlUBNDCHG 1<<2 |
#define | lpctlLBNDCHG 1<<3 |
#define | lpctlRHSCHG 1<<4 |
#define | lpctlOBJCHG 1<<5 |
#define | lpctlACTVARSIN 1<<6 |
#define | lpctlINITACTVAR 1<<7 |
#define | lpctlINITACTCON 1<<8 |
#define | lpctlACTVARSOUT 1<<10 |
#define | lpctlDYVALID 1<<11 |
#define | DYSTATS_MAXDEGEN 25 |
#define | DYSTATS_HISTBINS 37 |
Enumerations | |
enum | lpret_enum { lpFATAL = -1, lpINV = 0, lpOPTIMAL, lpUNBOUNDED, lpSWING, lpINFEAS, lpACCCHK, lpSTALLED, lpITERLIM, lpNOSPACE, lpLOSTFEAS, lpPUNT, lpFORCEDUAL, lpFORCEPRIMAL, lpFORCEFULL } |
enum | dyphase_enum { dyINV = 0, dyINIT, dyPRIMAL1, dyPRIMAL2, dyDUAL, dyPURGEVAR, dyGENVAR, dyADDVAR, dyPURGECON, dyGENCON, dyADDCON, dyFORCEDUAL, dyFORCEPRIMAL, dyFORCEFULL, dyDONE } |
enum | dyret_enum { dyrFATAL = -10, dyrITERLIM, dyrSTALLED, dyrBSPACE = -7, dyrSINGULAR = -6, dyrNUMERIC = -5, dyrLOSTPFEAS, dyrLOSTDFEAS, dyrDEGEN, dyrMADPIV, dyrINV = 0, dyrOK = 1, dyrPATCHED = 2, dyrRESELECT, dyrREQCHK, dyrACCCHK, dyrPUNT, dyrOPTIMAL, dyrUNBOUND, dyrSWING, dyrINFEAS } |
enum | ibtype_enum { ibINV = 0, ibLOGICAL, ibSLACK, ibARCH } |
enum | cxtype_enum { cxINV = 0, cxLOAD, cxUNLOAD, cxSINGLELP, cxINITIALLP, cxBANDC, cxUSERPIV } |
Functions | |
void | dy_defaults (lpopts_struct **opts, lptols_struct **tols) |
void | dy_checkdefaults (consys_struct *sys, lpopts_struct *opts, lptols_struct *tols) |
void | dy_setprintopts (int lvl, lpopts_struct *opts) |
lpret_enum | dylp (lpprob_struct *orig_lp, lpopts_struct *orig_opts, lptols_struct *orig_tols, lpstats_struct *orig_stats) |
void * | dy_getOwner () |
bool | dy_dupbasis (int dst_basissze, basis_struct **p_dst_basis, basis_struct *src_basis, int dst_statussze, flags **p_dst_status, int src_statuslen, flags *src_status) |
void | dy_freesoln (lpprob_struct *lpprob) |
bool | dy_pricenbvars (lpprob_struct *orig_lp, flags priceme, double **p_ocbar, int *p_nbcnt, int **p_nbvars) |
bool | dy_pricedualpiv (lpprob_struct *orig_lp, int oxindx, double nubi, double xi, double nlbi, int nbcnt, int *nbvars, double *cbar, double *p_upeni, double *p_dpeni) |
bool | dy_abarj (lpprob_struct *orig_lp, int tgt_j, double **p_abarj) |
bool | dy_betaj (lpprob_struct *orig_lp, int tgt_j, double **p_betaj) |
bool | dy_betak (lpprob_struct *orig_lp, int col_k, double **p_betaj) |
bool | dy_betai (lpprob_struct *orig_lp, int tgt_i, double **p_betai) |
bool | dy_abari (lpprob_struct *orig_lp, int tgt_i, double **p_abari, double **p_betai) |
bool | dy_primalRays (lpprob_struct *orig_lp, int *p_numRays, double ***p_rays) |
bool | dy_dualRays (lpprob_struct *orig_lp, bool fullRay, int *p_numRays, double ***p_rays, bool trueDuals) |
void | dy_colDuals (lpprob_struct *orig_lp, double **p_cbar, bool trueDuals) |
void | dy_rowDuals (lpprob_struct *orig_lp, double **p_y, bool trueDuals) |
void | dy_rowDualsGivenC (lpprob_struct *orig_lp, double **p_y, const double *c, bool trueDuals) |
void | dy_colPrimals (lpprob_struct *orig_lp, double **p_x) |
void | dy_rowPrimals (lpprob_struct *orig_lp, double **p_xB, int **p_indB) |
void | dy_logPrimals (lpprob_struct *orig_lp, double **p_logx) |
void | dy_colStatus (lpprob_struct *orig_lp, flags **p_colstat) |
void | dy_logStatus (lpprob_struct *orig_lp, flags **p_logstat) |
bool | dy_expandxopt (lpprob_struct *lp, double **p_xopt) |
const char * | dy_prtlpret (lpret_enum lpret) |
const char * | dy_prtlpphase (dyphase_enum phase, bool abbrv) |
char * | dy_prtvstat (flags status) |
bool | dy_dumpcompact (ioid chn, bool echo, lpprob_struct *soln, bool nbzeros) |
void | dy_setlogchn (ioid chn) |
void | dy_setgtxecho (bool echo) |
void | dy_initstats (lpstats_struct **p_lpstats, consys_struct *orig_sys) |
void | dy_dumpstats (ioid chn, bool echo, lpstats_struct *lpstats, consys_struct *orig_sys) |
void | dy_freestats (lpstats_struct **p_lpstats) |
#define vstatSTATUS (vstatBASIC|vstatNONBASIC|vstatEXOTIC) |
#define vstatQUALS (vstatNOPIVOT|vstatNOPER|vstatNOLOAD) |
enum lpret_enum |
enum dyphase_enum |
enum dyret_enum |
enum ibtype_enum |
enum cxtype_enum |
void dy_defaults | ( | lpopts_struct ** | opts, |
lptols_struct ** | tols | ||
) |
void dy_checkdefaults | ( | consys_struct * | sys, |
lpopts_struct * | opts, | ||
lptols_struct * | tols | ||
) |
void dy_setprintopts | ( | int | lvl, |
lpopts_struct * | opts | ||
) |
lpret_enum dylp | ( | lpprob_struct * | orig_lp, |
lpopts_struct * | orig_opts, | ||
lptols_struct * | orig_tols, | ||
lpstats_struct * | orig_stats | ||
) |
void* dy_getOwner | ( | ) |
bool dy_dupbasis | ( | int | dst_basissze, |
basis_struct ** | p_dst_basis, | ||
basis_struct * | src_basis, | ||
int | dst_statussze, | ||
flags ** | p_dst_status, | ||
int | src_statuslen, | ||
flags * | src_status | ||
) |
void dy_freesoln | ( | lpprob_struct * | lpprob | ) |
bool dy_pricenbvars | ( | lpprob_struct * | orig_lp, |
flags | priceme, | ||
double ** | p_ocbar, | ||
int * | p_nbcnt, | ||
int ** | p_nbvars | ||
) |
bool dy_pricedualpiv | ( | lpprob_struct * | orig_lp, |
int | oxindx, | ||
double | nubi, | ||
double | xi, | ||
double | nlbi, | ||
int | nbcnt, | ||
int * | nbvars, | ||
double * | cbar, | ||
double * | p_upeni, | ||
double * | p_dpeni | ||
) |
bool dy_abarj | ( | lpprob_struct * | orig_lp, |
int | tgt_j, | ||
double ** | p_abarj | ||
) |
bool dy_betaj | ( | lpprob_struct * | orig_lp, |
int | tgt_j, | ||
double ** | p_betaj | ||
) |
bool dy_betak | ( | lpprob_struct * | orig_lp, |
int | col_k, | ||
double ** | p_betaj | ||
) |
bool dy_betai | ( | lpprob_struct * | orig_lp, |
int | tgt_i, | ||
double ** | p_betai | ||
) |
bool dy_abari | ( | lpprob_struct * | orig_lp, |
int | tgt_i, | ||
double ** | p_abari, | ||
double ** | p_betai | ||
) |
bool dy_primalRays | ( | lpprob_struct * | orig_lp, |
int * | p_numRays, | ||
double *** | p_rays | ||
) |
bool dy_dualRays | ( | lpprob_struct * | orig_lp, |
bool | fullRay, | ||
int * | p_numRays, | ||
double *** | p_rays, | ||
bool | trueDuals | ||
) |
void dy_colDuals | ( | lpprob_struct * | orig_lp, |
double ** | p_cbar, | ||
bool | trueDuals | ||
) |
void dy_rowDuals | ( | lpprob_struct * | orig_lp, |
double ** | p_y, | ||
bool | trueDuals | ||
) |
void dy_rowDualsGivenC | ( | lpprob_struct * | orig_lp, |
double ** | p_y, | ||
const double * | c, | ||
bool | trueDuals | ||
) |
void dy_colPrimals | ( | lpprob_struct * | orig_lp, |
double ** | p_x | ||
) |
void dy_rowPrimals | ( | lpprob_struct * | orig_lp, |
double ** | p_xB, | ||
int ** | p_indB | ||
) |
void dy_logPrimals | ( | lpprob_struct * | orig_lp, |
double ** | p_logx | ||
) |
void dy_colStatus | ( | lpprob_struct * | orig_lp, |
flags ** | p_colstat | ||
) |
void dy_logStatus | ( | lpprob_struct * | orig_lp, |
flags ** | p_logstat | ||
) |
bool dy_expandxopt | ( | lpprob_struct * | lp, |
double ** | p_xopt | ||
) |
const char* dy_prtlpret | ( | lpret_enum | lpret | ) |
const char * dy_prtlpphase | ( | dyphase_enum | phase, |
bool | abbrv | ||
) |
char* dy_prtvstat | ( | flags | status | ) |
bool dy_dumpcompact | ( | ioid | chn, |
bool | echo, | ||
lpprob_struct * | soln, | ||
bool | nbzeros | ||
) |
void dy_setlogchn | ( | ioid | chn | ) |
void dy_setgtxecho | ( | bool | echo | ) |
void dy_initstats | ( | lpstats_struct ** | p_lpstats, |
consys_struct * | orig_sys | ||
) |
void dy_dumpstats | ( | ioid | chn, |
bool | echo, | ||
lpstats_struct * | lpstats, | ||
consys_struct * | orig_sys | ||
) |
void dy_freestats | ( | lpstats_struct ** | p_lpstats | ) |