#include "dylib_errs.h"#include "dylib_io.h"#include "dy_consys.h"Include dependency graph for dylp.h:

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

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 |
Defines | |
| #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, cxSINGLELP, cxINITIALLP, cxBANDC } |
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) |
| 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) |
| bool | dy_expandxopt (lpprob_struct *lp, double **p_xopt) |
| 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) |
| 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_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 vstatBASIC (vstatBFX|vstatBUUB|vstatBUB|vstatB|vstatBLB|vstatBLLB|vstatBFR) |
| #define VALID_STATUS | ( | zz_status_zz | ) |
| 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 | |||
| ) |
| 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 | |||
| ) |
| bool dy_expandxopt | ( | lpprob_struct * | lp, | |
| double ** | p_xopt | |||
| ) |
| 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 | |||
| ) |
| 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_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 | ) |
1.4.7