"C:\Users\Zeta\Documents\Programacion\Investigacion Operativa\venv\Scripts\python.exe" "C:/Users/Zeta/Documents/Programacion/Investigacion Operativa/IO Guia 3.1.py" ['Restriccion' 'C1' 'C2' 'C3' 'PS' 'CC' 'NFV' 'NFVFO' 'NFVNF' 'DOV' 'DOVDO' 'DOVCC' 'DOVFO' 'GOP' 'CRR' 'NFC' 'NFCNF' 'NFCDO' 'DOC' 'DOCDO' 'DOCFO' 'NF' 'DO' 'FO' 'CONSTANTE' ' = / > / <' '#'] [['Cap_PS' 1.0 1.0 1.0 -1 0 0 0 0 0 0 0.0 0 0.0 0 0 0 0 0 0 0 0 0.0 0 0 'igual' 0.0] ['TOT_PS' 0.0 0.0 0.0 1 0 0 0 0 0 0 0.0 0 0.0 0 0 0 0 0 0 0 0 0.0 0 0 '<=' 10.0] ['DISP_C1' 1.0 0.0 0.0 0 0 0 0 0 0 0 0.0 0 0.0 0 0 0 0 0 0 0 0 0.0 0 0 '<=' 6.0] ['DISP_C2' 0.0 1.0 0.0 0 0 0 0 0 0 0 0.0 0 0.0 0 0 0 0 0 0 0 0 0.0 0 0 '<=' 6.0] ['DISP_C3' 0.0 0.0 1.0 0 0 0 0 0 0 0 0.0 0 0.0 0 0 0 0 0 0 0 0 0.0 0 0 '<=' 6.0] ['REND_PS_NFV' 0.23 0.15 0.03 0 0 -1 0 0 0 0 0.0 0 0.0 0 0 0 0 0 0 0 0 0.0 0 0 'igual' 0.0] ['BAL_NFV' 0.0 0.0 0.0 0 0 1 -1 -1 0 0 0.0 0 0.0 0 0 0 0 0 0 0 0 0.0 0 0 'igual' 0.0] ['REND_PS_DOV' 0.28 0.31 0.27 0 0 0 0 0 -1 0 0.0 0 0.0 0 0 0 0 0 0 0 0 0.0 0 0 'igual' 0.0] ['BAL_DOV' 0.0 0.0 0.0 0 0 0 0 0 1 -1 -1.0 -1 0.0 0 0 0 0 0 0 0 0 0.0 0 0 'igual' 0.0] ['REND_PS_GOP' 0.4 0.35 0.27 0 0 0 0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0 '<=' 4.0] ['OCT_MIN_NF' 0.0 0.0 0.0 0 0 0 0 59 0 0 0.0 0 0.0 0 0 98 0 0 0 0 -80 0.0 0 0 '>=' 0.0] ['NFC_MAX_DO' 0.0 0.0 0.0 0 0 0 0 0 0 0 0.0 0 0.0 0 0 0 1 0 0 0 0 -0.1 0 0 '<=' 0.0] ['VBN_MIN_FO' 0.0 0.0 0.0 0 0 0 60 0 0 0 0.0 42 0.0 14 0 0 0 0 0 52 0 0.0 -21 0 '>=' 0.0] [nan -170000.0 -150000.0 -130000.0 -5000 -10000 0 0 0 0 0 0.0 0 0.0 0 0 0 0 0 0 0 290000 240000.0 210000 -200000 nan nan]] La cantidad de variables ingresada es: 23 La cantidad de restricciones ingresadas es: 25 ['C1', 'C2', 'C3', 'PS', 'CC', 'NFV', 'NFVFO', 'NFVNF', 'DOV', 'DOVDO', 'DOVCC', 'DOVFO', 'GOP', 'CRR', 'NFC', 'NFCNF', 'NFCDO', 'DOC', 'DOCDO', 'DOCFO', 'NF', 'DO', 'FO'] IO_Ej_Guia_3.1: MAXIMIZE -170000.0*C1 + -150000.0*C2 + -130000.0*C3 + -10000*CC + 240000.0*DO + 210000*FO + 290000*NF + -5000*PS + -200000.0 SUBJECT TO Cap_PS: C1 + C2 + C3 - PS = 0 TOT_PS: PS <= 10 DISP_C1: C1 <= 6 DISP_C2: C2 <= 6 DISP_C3: C3 <= 6 REND_PS_NFV: 0.23 C1 + 0.15 C2 + 0.03 C3 - NFV = 0 BAL_NFV: NFV - NFVFO - NFVNF = 0 REND_PS_DOV: 0.28 C1 + 0.31 C2 + 0.27 C3 - DOV = 0 BAL_DOV: DOV - DOVCC - DOVDO - DOVFO = 0 REND_PS_GOP: 0.4 C1 + 0.35 C2 + 0.27 C3 - GOP = 0 REND_PS_CRR: 0.08 C1 + 0.18 C2 + 0.42 C3 - CRR = 0 CAP_CC: - CC + DOVCC + GOP = 0 TOT_CC: CC <= 6.5 REND_CC_NFC: 0.25 DOVCC + 0.55 GOP - NFC = 0 REND_CC_DOC: - DOC + 0.85 DOVCC + 0.6 GOP = 0 BAL_NFC: NFC - NFCDO - NFCNF = 0 BAL_DOC: DOC - DOCDO - DOCFO = 0 BAL_NF: NF - NFCNF - NFVNF = 0 BAL_DO: DO - DOCDO - DOVDO - NFCDO = 0 BAL_FO: - CRR - DOCFO - DOVFO + FO - NFVFO = 0 DESP_MAX_NF: NF <= 4 DESP_MAX_DO: DO <= 4 OCT_MIN_NF: - 80 NF + 98 NFCNF + 59 NFVNF >= 0 NFC_MAX_DO: - 0.1 DO + NFCDO <= 0 VBN_MIN_FO: 14 CRR + 52 DOCFO + 42 DOVFO - 21 FO + 60 NFVFO >= 0 VARIABLES C1 Continuous C2 Continuous C3 Continuous CC Continuous CRR Continuous DO Continuous DOC Continuous DOCDO Continuous DOCFO Continuous DOV Continuous DOVCC Continuous DOVDO Continuous DOVFO Continuous FO Continuous GOP Continuous NF Continuous NFC Continuous NFCDO Continuous NFCNF Continuous NFV Continuous NFVFO Continuous NFVNF Continuous PS Continuous Welcome to the CBC MILP Solver Version: 2.9.0 Build Date: Feb 12 2015 command line - C:\Users\Zeta\Documents\Programacion\Investigacion Operativa\venv\lib\site-packages\pulp\apis\..\solverdir\cbc\win\64\cbc.exe C:\Users\Zeta\AppData\Local\Temp\174e104eb5974e2c93bc89d1691ea73d-pulp.mps max branch printingOptions all solution C:\Users\Zeta\AppData\Local\Temp\174e104eb5974e2c93bc89d1691ea73d-pulp.sol (default strategy 1) At line 2 NAME MODEL At line 3 ROWS At line 30 COLUMNS At line 110 RHS At line 136 BOUNDS At line 137 ENDATA Problem MODEL has 25 rows, 23 columns and 71 elements Coin0008I MODEL read with 0 errors Presolve 14 (-11) rows, 19 (-4) columns and 56 (-15) elements 0 Obj -0 Dual inf 555864.24 (3) 17 Obj 1103543.2 Optimal - objective value 1103543.2 After Postsolve, objective 1103543.2, infeasibilities - dual 0 (0), primal 0 (0) Optimal objective 1103543.226 - 17 iterations time 0.002, Presolve 0.00 Option for printingOptions changed from normal to all Total time (CPU seconds): 0.01 (Wallclock seconds): 0.02 IO_Ej_Guia_3.1: MAXIMIZE -170000.0*C1 + -150000.0*C2 + -130000.0*C3 + -10000*CC + 240000.0*DO + 210000*FO + 290000*NF + -5000*PS + -200000.0 SUBJECT TO Cap_PS: C1 + C2 + C3 - PS = 0 TOT_PS: PS <= 10 DISP_C1: C1 <= 6 DISP_C2: C2 <= 6 DISP_C3: C3 <= 6 REND_PS_NFV: 0.23 C1 + 0.15 C2 + 0.03 C3 - NFV = 0 BAL_NFV: NFV - NFVFO - NFVNF = 0 REND_PS_DOV: 0.28 C1 + 0.31 C2 + 0.27 C3 - DOV = 0 BAL_DOV: DOV - DOVCC - DOVDO - DOVFO = 0 REND_PS_GOP: 0.4 C1 + 0.35 C2 + 0.27 C3 - GOP = 0 REND_PS_CRR: 0.08 C1 + 0.18 C2 + 0.42 C3 - CRR = 0 CAP_CC: - CC + DOVCC + GOP = 0 TOT_CC: CC <= 6.5 REND_CC_NFC: 0.25 DOVCC + 0.55 GOP - NFC = 0 REND_CC_DOC: - DOC + 0.85 DOVCC + 0.6 GOP = 0 BAL_NFC: NFC - NFCDO - NFCNF = 0 BAL_DOC: DOC - DOCDO - DOCFO = 0 BAL_NF: NF - NFCNF - NFVNF = 0 BAL_DO: DO - DOCDO - DOVDO - NFCDO = 0 BAL_FO: - CRR - DOCFO - DOVFO + FO - NFVFO = 0 DESP_MAX_NF: NF <= 4 DESP_MAX_DO: DO <= 4 OCT_MIN_NF: - 80 NF + 98 NFCNF + 59 NFVNF >= 0 NFC_MAX_DO: - 0.1 DO + NFCDO <= 0 VBN_MIN_FO: 14 CRR + 52 DOCFO + 42 DOVFO - 21 FO + 60 NFVFO >= 0 VARIABLES C1 Continuous C2 Continuous C3 Continuous CC Continuous CRR Continuous DO Continuous DOC Continuous DOCDO Continuous DOCFO Continuous DOV Continuous DOVCC Continuous DOVDO Continuous DOVFO Continuous FO Continuous GOP Continuous NF Continuous NFC Continuous NFCDO Continuous NFCNF Continuous NFV Continuous NFVFO Continuous NFVNF Continuous PS Continuous status: 1, Optimal Valor Optimo del Funcional: objective: 903543.2259999999 C1: 0.0 C2: 6.0 C3: 4.0 CC: 6.12 CRR: 2.76 DO: 3.7837742 DOC: 4.407 DOCDO: 3.7837742 DOCFO: 0.62322581 DOV: 2.94 DOVCC: 2.94 DOVDO: 0.0 DOVFO: 0.0 FO: 3.3832258 GOP: 3.18 NF: 3.504 NFC: 2.484 NFCDO: 0.0 NFCNF: 2.484 NFV: 1.02 NFVFO: 0.0 NFVNF: 1.02 PS: 10.0 Cap_PS: 0.0 (representa un sobrante del recurso no utilizado) TOT_PS: 0.0 (representa un sobrante del recurso no utilizado) DISP_C1: -6.0 (representa un sobrante del recurso no utilizado) DISP_C2: 0.0 (representa un sobrante del recurso no utilizado) DISP_C3: -2.0 (representa un sobrante del recurso no utilizado) REND_PS_NFV: 0.0 (representa un sobrante del recurso no utilizado) BAL_NFV: 0.0 (representa un sobrante del recurso no utilizado) REND_PS_DOV: 0.0 (representa un sobrante del recurso no utilizado) BAL_DOV: 0.0 (representa un sobrante del recurso no utilizado) REND_PS_GOP: -4.440892098500626e-16 (representa un sobrante del recurso no utilizado) REND_PS_CRR: 0.0 (representa un sobrante del recurso no utilizado) CAP_CC: 0.0 (representa un sobrante del recurso no utilizado) TOT_CC: -0.3799999999999999 (representa un sobrante del recurso no utilizado) REND_CC_NFC: 4.440892098500626e-16 (representa un excedente sobre la restriccion de minimo planteado) REND_CC_DOC: 0.0 (representa un sobrante del recurso no utilizado) BAL_NFC: 0.0 (representa un sobrante del recurso no utilizado) BAL_DOC: -9.999999828202988e-09 (representa un sobrante del recurso no utilizado) BAL_NF: 0.0 (representa un sobrante del recurso no utilizado) BAL_DO: 0.0 (representa un sobrante del recurso no utilizado) BAL_FO: -9.99999993922529e-09 (representa un sobrante del recurso no utilizado) DESP_MAX_NF: -0.496 (representa un sobrante del recurso no utilizado) DESP_MAX_DO: -0.21622580000000013 (representa un sobrante del recurso no utilizado) OCT_MIN_NF: 23.291999999999973 (representa un excedente sobre la restriccion de minimo planteado) NFC_MAX_DO: -0.37837742 (representa un sobrante del recurso no utilizado) VBN_MIN_FO: 3.20000012266064e-07 (representa un excedente sobre la restriccion de minimo planteado) Process finished with exit code 0