ucd-cws / calvin-network-tools

Command line tools for calvin-network-data and calvin-network-app. Includes prm tool for export PRI and DSS files
MIT License
3 stars 5 forks source link

Decimal places on matrix export parameters #48

Closed msdogan closed 7 years ago

msdogan commented 7 years ago

(moving the discussion here https://github.com/msdogan/pyvin/issues/30) @jrmerz let's do 3 decimals on lb/ub and 5 on a/c

jrmerz commented 7 years ago

@msdogan this has been pushed @ calvin-network-tools@2.0.7

I gave it a good look over, but obviously did not individually inspect all 35k+ rows.

msdogan commented 7 years ago

it looks good to me. Hopefully it may reduce file sizes as well. Thanks a lot @jrmerz

i   j   k   cost    amplitude   lower_bound upper_bound
SOURCE  INITIAL 0   0   1   0   1.00E+09
INITIAL SR_SHA.2002-01-31   0   0   1   2940.052    2940.052
SR_SHA.2002-01-31   SR_SHA.2002-02-28   0   -6.82366    0.99919 648.689 648.689
SR_SHA.2002-01-31   SR_SHA.2002-02-28   1   -2.66634    0.99919 889.555 889.555
SR_SHA.2002-01-31   SR_SHA.2002-02-28   2   -1.29792    0.99919 161.756 2289.756
SR_SHA.2002-02-28   SR_SHA.2002-03-31   0   -5.71202    0.99887 750.429 750.429
SR_SHA.2002-02-28   SR_SHA.2002-03-31   1   -1.83201    0.99887 949.571 1324.707
SR_SHA.2002-02-28   SR_SHA.2002-03-31   2   -1.00038    0.99887 0   1966.864
SR_SHA.2002-03-31   SR_SHA.2002-04-30   0   -5.45207    0.99833 852.178 852.178
SR_SHA.2002-03-31   SR_SHA.2002-04-30   1   -1.57833    0.99833 847.822 1861.545
SR_SHA.2002-03-31   SR_SHA.2002-04-30   2   -0.79773    0.99833 0   1616.277
SR_SHA.2002-04-30   SR_SHA.2002-05-31   0   -4.84808    0.99713 875.528 875.528
...