## Constants for testing

#for the genNewsvendorFunctions tests
const cSols = [8, 4, 4, 2, 4, 5, 9, 7, 5, 7, 8, 8, 3, 3, 9, 2, 8, 7, 9, 7]
const cCosts = [8.599038144844988, 1.5298942577297954, 1.3616845549380314, 0.9034083219842073, 1.4783011670220971, 2.057697717608458, 26.64083414920856, 2.2766748472183016, 2.011619605755156, 2.639757261643404, 6.694819245413914, 7.294936527821754, 0.9948002857800782, 1.0058771604635373, 14.11158547904508, 0.7559462763167646, 9.184175991907422, 4.180172295358156, 108.29380788495317, 3.756144725078732]

#for simple helper function tests
const cShrunkP1 = [0.05952017747380227,0.05565244396256826,0.0471041808594576,0.11597354187553938,0.13164864565355003,0.08555159776149093,0.005988776992539929,0.030686513821447714,0.22616435286098413,0.24170976873861993]
const cGenAnchor = [0.1111111111111111,0.023809523809523808,0.10317460317460317,0.07142857142857142,0.28968253968253965,0.18253968253968256,0.047619047619047616,0.027777777777777776,0.023809523809523808,0.11904761904761904
]
const cGenAnchorZero = [0.0,0.30952380952380953,0.16666666666666666,0.0,0.1845238095238095,0.26785714285714285,0.0,0.0,0.0,0.07142857142857142]

#for shrunken SAA test
const cOracleCurve = [4.4069742640419935,4.428156384118435,4.401939540777265,4.361044771184344,4.361044771184344,4.382226891260787,4.361044771184344,4.361044771184344,4.361044771184344,4.361044771184344,4.382226891260787,4.361044771184344,4.361044771184344,4.361044771184344,4.361044771184344,4.361044771184344,4.361044771184344,4.361044771184344,4.361044771184344,4.361044771184344,4.361044771184344,4.361044771184344,4.361044771184344,4.361044771184344,4.361044771184344,4.361044771184344,4.361044771184344,4.361044771184344,4.361044771184344,4.382226891260787,4.361044771184344,4.361044771184344,4.361044771184344,4.361044771184344,4.361044771184344,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.48032365996563,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865,4.4591415398891865
]
const cLooCurve = [91.7,93.9,96.1,96.1,96.1,96.1,96.1,96.1,96.1,96.1,96.1,94.2,94.2,94.2,94.2,94.2,94.2,92.3,92.3,92.3,92.3,92.3,92.3,92.3,92.3,92.3,92.3,92.3,92.3,92.3,92.3,92.3,92.3,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6,94.6
]
const cCVCurve = [94.19999999999999,94.69999999999999,94.79999999999998,94.79999999999998,94.79999999999998,94.79999999999998,94.79999999999998,94.79999999999998,94.79999999999998,93.4,93.4,93.4,93.4,92.0,92.0,92.0,92.0,92.0,92.0,92.0,92.0,92.0,92.0,92.79999999999998,92.79999999999998,92.79999999999998,94.0,94.0,94.0,94.0,94.0,94.0,94.19999999999999,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998,94.29999999999998]

#for optAnchor test
const cOptAnchor1 = [0.11044601731594372,0.22265669240057712,0.08204075109258317,0.07245235285038583,0.04832459996898388,0.013401434869161623,0.04230732694564439,0.24237668813654056,0.05318145101666116,0.11281268540351853
]
const cOptAnchor2 = [0.125,0.3125,0.125,0.0,0.0,0.0625,0.0,0.0625,0.0625,0.25]
const cOptAnchor3 = [0.1099463604187367,0.15868217551246672,0.1328757094832336,0.047913577718146506,0.039462007908452154,0.09732233346246229,0.0733831929235391,0.13631353364580098,0.11090793298884141,0.09319317593832044
]
const cOptAnchor4 = [0.1700824640470271,0.2797576820629453,0.14030246572816318,0.02738960057970292,0.03402739835524246,0.15810873898604938,0.0352360625591607,0.0748950731980284,0.05145454618262784,0.028745968301052745
]


## for betaAnchor test
const cBetaAnchor = [0.14149341323609751,0.09933669247227828,0.08987177444322589,0.08555222955961517,0.08374525146097589,0.08374527679800287,0.08555230946953951,0.08987192376335229,0.09933695512844554,0.14149417366846706
]
const cBetaAnchorOR = [0.02070557260139825,0.06874634617696382,0.1112814071756968,0.14174776568434036,0.15751797915359467,0.1575181206677817,0.14174815822271525,0.11128195283959919,0.06874687437657823,0.020705823101331733
]