|
From: | Michael Bleau |
Subject: | [Bug-glpk] dmp_get_atom: size = 289; invalid atom size |
Date: | Thu, 5 Nov 2009 22:09:36 +0300 |
Hi, I am using gplsol.exe v4.40 in standalone mode: 32 bit version compiled with Visual Studio Express 9.0 I am using the ODBC driver Running on Windows 7 64 bit I made a single change in glpmpl.h in order to accommodate large ODBC queries (string literals): #define MAX_LENGTH 1024 Я was 100 I now get the error message you can see at the bottom of the listing below. I have also attached the model code in case that might be useful. Thanks for any help you can provide. Michael Bleau Michael Bleau associйs 514 247 2944 address@hidden (NEW) address@hidden (THIS STILL WORKS) Model Output listing - problem shows up at the very bottom 05/11/2009 01:14 PM GLPSOL: GLPK LP/MIP Solver 4.40 Parameter(s) specified in the command line: --model RetirementModel.model --display RM.out Reading model section from RetirementModel.model... Reading data section from RetirementModel.model... 448 lines were read Reading periodFlowTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName, rrspLimitPct, rrspLimitAbs, tfsaLimitAbs, pensionAmount, oosBasicAmount, oosClawbackPct FROM expperiodFlow Reading periodBalanceTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName FROM expPeriodBalance Reading period0Tbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName FROM expperiod0 Reading periodLastTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName FROM expperiodLast Reading pValueTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT setMember, pValue FROM exppValue Reading entityTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName FROM expentity Reading fundEntityTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT fundEntity, owningEntity, investmentFundType FROM expfundEntity Reading entityFlowTypeTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT taxingEntity, flowType, dividendTaxCreditPct FROM expentityFlowType Reading investmentEntityTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT fundEntity, owningEntity, investmentFundType, investmentType, openingBalance FROM expinvestmentEntity Reading taxingEntityTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName, corporateTaxRate FROM exptaxingEntity Reading corporateEntityTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName FROM expcorporateEntity Reading personalEntityTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName FROM exppersonalEntity Reading externalEntityTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName FROM expexternalEntity Reading returnTypeTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName FROM expreturnType Reading taxTypeTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName FROM exptaxType Reading investmentFundTypeTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName FROM expinvestmentFundType Reading flowTypeTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName, dividendGrossUpPct FROM expflowType Reading investmentTypeTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName, investmentRisk FROM expinvestmentType Reading returnRateTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT investmentType, returnType, returnRate FROM expreturnRate Reading flowTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT fromEntity, toEntity, flowType, fromTaxEffect, toTaxEffect FROM expflow Reading sourceFlowTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT fromEntity, toEntity, flowType FROM expsourceFlow Reading sinkFlowTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT fromEntity, toEntity, flowType FROM expsinkFlow Reading earnedIncomeFlowTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT fromEntity, toEntity, flowType FROM expearnedIncomeFlow Reading dividendFlowTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT fromEntity, toEntity, flowType FROM expdividendFlow Reading sourceFlowQuantityTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT fromEntity, toEntity, flowType, periodFlow, sourceFlowQuantity FROM expsourceFlowQuantity Reading taxBracketTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT bracket, entity, bracketMax, bracketTaxRate FROM exptaxBracket Generating returnPerPeriodObjective... Generating SourceRule... Generating SinkRule... Generating AssetValueAtFinishRule... Generating OwningFlowRule... Generating FundFlowRule... Generating InitialBalanceRule... Generating PositiveBalanceRule... Generating InvestmentReturnsRule... Generating InvestmentBalanceRule... Generating TaxableIncomeRule... Generating DividendTaxCreditRule... Generating BracketMinRule... Generating BracketMaxRule... Generating BracketTotalRule... Generating TaxAmountRule... Generating CorporateTaxPaymentRule... Generating earnedIncomeRule... Generating PensionLimitRule... Generating OOSLimitRule... Generating RRSPLimitRuleAbs... Generating RRSPLimitRulePct... Generating TFSALimitRule... Generating RiskRule... Generating investmentStdCapitalGainRule... Generating investmentNonStdCapitalGainRule... Model has been successfully generated Original LP has 5826 rows, 5385 columns, 15663 non-zeros Presolved LP has 2674 rows, 3717 columns, 10693 non-zeros Scaling... A: min|aij| = 3.851e-004 max|aij| = 1.250e+000 ratio = 3.246e+003 GM: min|aij| = 3.761e-001 max|aij| = 2.659e+000 ratio = 7.071e+000 EQ: min|aij| = 1.414e-001 max|aij| = 1.000e+000 ratio = 7.071e+000 Constructing initial basis... Size of triangular part = 2586 0: obj = -3.043512000e+002 infeas = 2.477e+006 (88) 200: obj = -2.060246016e+003 infeas = 1.632e+005 (80) * 395: obj = -3.322876414e+003 infeas = 8.967e-014 (56) * 400: obj = -3.322876414e+003 infeas = 8.967e-014 (56) * 600: obj = -3.322876414e+003 infeas = 0.000e+000 (21) * 800: obj = -1.700936759e+003 infeas = 1.113e-013 (0) * 1000: obj = 3.354343740e+004 infeas = 1.612e-011 (0) * 1200: obj = 4.543224377e+004 infeas = 8.480e-011 (0) * 1400: obj = 5.258564677e+004 infeas = 1.309e-010 (0) * 1600: obj = 5.703417593e+004 infeas = 9.598e-013 (0) * 1800: obj = 6.007711301e+004 infeas = 4.460e-009 (0) * 1807: obj = 6.112017119e+004 infeas = 3.580e-014 (0) OPTIMAL SOLUTION FOUND Time used: 0.5 secs Memory used: 8.9 Mb (9311026 bytes) Writing investmentEntityBalanceTable... Writing flowQuantityTable... Writing incomeTaxDataTable... Writing incomeTaxData2Table... Writing investmentTable... dmp_get_atom: size = 289; invalid atom size Error detected in file ..\src\glpdmp.c at line 107 05/11/2009 01:14 PM
Hi,
I am using gplsol.exe v4.40 in standalone mode: 32 bit version compiled with Visual Studio Express 9.0 I am using the ODBC driver Running on Windows 7 64 bit
I made a single change in glpmpl.h in order to accommodate large ODBC queries (string literals): #define MAX_LENGTH 1024 ß was 100
I now get the error message you can see at the bottom of the listing below. I have also attached the model code in case that might be useful.
Thanks for any help you can provide.
Michael Bleau
Michael Bleau & associés 514 247 2944 address@hidden (NEW) address@hidden (THIS STILL WORKS)
Model Output listing - problem shows up at the very bottom 05/11/2009 01:14 PM GLPSOL: GLPK LP/MIP Solver 4.40 Parameter(s) specified in the command line: --model RetirementModel.model --display RM.out Reading model section from RetirementModel.model... Reading data section from RetirementModel.model... 448 lines were read Reading periodFlowTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName, rrspLimitPct, rrspLimitAbs, tfsaLimitAbs, pensionAmount, oosBasicAmount, oosClawbackPct FROM expperiodFlow Reading periodBalanceTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName FROM expPeriodBalance Reading period0Tbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName FROM expperiod0 Reading periodLastTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName FROM expperiodLast Reading pValueTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT setMember, pValue FROM exppValue Reading entityTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName FROM expentity Reading fundEntityTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT fundEntity, owningEntity, investmentFundType FROM expfundEntity Reading entityFlowTypeTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT taxingEntity, flowType, dividendTaxCreditPct FROM expentityFlowType Reading investmentEntityTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT fundEntity, owningEntity, investmentFundType, investmentType, openingBalance FROM expinvestmentEntity Reading taxingEntityTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName, corporateTaxRate FROM exptaxingEntity Reading corporateEntityTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName FROM expcorporateEntity Reading personalEntityTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName FROM exppersonalEntity Reading externalEntityTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName FROM expexternalEntity Reading returnTypeTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName FROM expreturnType Reading taxTypeTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName FROM exptaxType Reading investmentFundTypeTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName FROM expinvestmentFundType Reading flowTypeTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName, dividendGrossUpPct FROM expflowType Reading investmentTypeTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT modelName, investmentRisk FROM expinvestmentType Reading returnRateTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT investmentType, returnType, returnRate FROM expreturnRate Reading flowTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT fromEntity, toEntity, flowType, fromTaxEffect, toTaxEffect FROM expflow Reading sourceFlowTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT fromEntity, toEntity, flowType FROM expsourceFlow Reading sinkFlowTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT fromEntity, toEntity, flowType FROM expsinkFlow Reading earnedIncomeFlowTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT fromEntity, toEntity, flowType FROM expearnedIncomeFlow Reading dividendFlowTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT fromEntity, toEntity, flowType FROM expdividendFlow Reading sourceFlowQuantityTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT fromEntity, toEntity, flowType, periodFlow, sourceFlowQuantity FROM expsourceFlowQuantity Reading taxBracketTbl... Connected to ACCESS 12.00.0000 - C:RetirementModel.accdb SELECT bracket, entity, bracketMax, bracketTaxRate FROM exptaxBracket Generating returnPerPeriodObjective... Generating SourceRule... Generating SinkRule... Generating AssetValueAtFinishRule... Generating OwningFlowRule... Generating FundFlowRule... Generating InitialBalanceRule... Generating PositiveBalanceRule... Generating InvestmentReturnsRule... Generating InvestmentBalanceRule... Generating TaxableIncomeRule... Generating DividendTaxCreditRule... Generating BracketMinRule... Generating BracketMaxRule... Generating BracketTotalRule... Generating TaxAmountRule... Generating CorporateTaxPaymentRule... Generating earnedIncomeRule... Generating PensionLimitRule... Generating OOSLimitRule... Generating RRSPLimitRuleAbs... Generating RRSPLimitRulePct... Generating TFSALimitRule... Generating RiskRule... Generating investmentStdCapitalGainRule... Generating investmentNonStdCapitalGainRule... Model has been successfully generated Original LP has 5826 rows, 5385 columns, 15663 non-zeros Presolved LP has 2674 rows, 3717 columns, 10693 non-zeros Scaling... A: min|aij| = 3.851e-004 max|aij| = 1.250e+000 ratio = 3.246e+003 GM: min|aij| = 3.761e-001 max|aij| = 2.659e+000 ratio = 7.071e+000 EQ: min|aij| = 1.414e-001 max|aij| = 1.000e+000 ratio = 7.071e+000 Constructing initial basis... Size of triangular part = 2586 0: obj = -3.043512000e+002 infeas = 2.477e+006 (88) 200: obj = -2.060246016e+003 infeas = 1.632e+005 (80) * 395: obj = -3.322876414e+003 infeas = 8.967e-014 (56) * 400: obj = -3.322876414e+003 infeas = 8.967e-014 (56) * 600: obj = -3.322876414e+003 infeas = 0.000e+000 (21) * 800: obj = -1.700936759e+003 infeas = 1.113e-013 (0) * 1000: obj = 3.354343740e+004 infeas = 1.612e-011 (0) * 1200: obj = 4.543224377e+004 infeas = 8.480e-011 (0) * 1400: obj = 5.258564677e+004 infeas = 1.309e-010 (0) * 1600: obj = 5.703417593e+004 infeas = 9.598e-013 (0) * 1800: obj = 6.007711301e+004 infeas = 4.460e-009 (0) * 1807: obj = 6.112017119e+004 infeas = 3.580e-014 (0) OPTIMAL SOLUTION FOUND Time used: 0.5 secs Memory used: 8.9 Mb (9311026 bytes) Writing investmentEntityBalanceTable... Writing flowQuantityTable... Writing incomeTaxDataTable... Writing incomeTaxData2Table... Writing investmentTable... dmp_get_atom: size = 289; invalid atom size Error detected in file ..\src\glpdmp.c at line 107 05/11/2009 01:14 PM |
RetirementModel.model
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |