SOLVERS_TO_BENCHMARK = ['linprog_simplex', 'linprog_ip',
                        'cvxopt_conelp', 'cvxopt_mosek',
                        'simpleIPM']

NETLIB_INSTANCES_PATH = 'netlib_instances'
# NETLIB_INSTANCES_TO_BENCHMARK = {
#     # '25fv47': 5.5018458883e3,
#     # 'adlittle': 2.2549496316e5,
#     # 'afiro': -4.6475314286e2,
#     # 'agg': -3.5991767287e7,
#     # 'bandm': -1.5862801845e2,
#     # 'blend': -3.0812149846E+01,
#     'bnl2': 1.8112365404e3,
#     'd2q06c': 1.2278423615e5,
#     # 'degen3': -9.8729400000e2,
#     'greenbea': -7.2462405908E+07,
#     #  'israel': -8.9664482186e5,
#     'maros-r7': 1.4971851665e6,
#     # 'scorpion': 1.8781248227e3,
#     'scsd8': 9.0499999993e2,
#     # 'ship04l': 1.7933245380e6,
#     # 'ship08l': 1.9090552114e6,
#     'ship12l': 1.4701879193e6,
#     # 'share1b': -7.6589318579e4,
#     # 'stocfor2': -3.9024408538e4,
#     'wood1p': 1.4429024116e0,
#     'woodw': 1.3044763331e0,
# }

# import pandas as pd
# df = pd.read_csv("netlib_instances/netlib_data.csv", delim_whitespace=True, header=None)
# NETLIB_INSTANCES_TO_BENCHMARK_BIG_NP = df[[0, 5]].as_matrix()

NETLIB_INSTANCES_TO_BENCHMARK = \
{'25FV47':5501.8458883,
#'80BAU3B':987232.16072,
'ADLITTLE':225494.96315999998,
'AFIRO':-464.75314286,
'AGG':-35991767.287,
'AGG2':-20239252.356,
'AGG3':10312115.935,
'BANDM':-158.62801845,
'BEACONFD':33592.485807,
'BLEND':-30.812149846,
'BNL1':1977.6292855999998,
'BNL2':1811.2365404,
#'BORE3D':1373.0803942,
'BRANDY':1518.5098965,
#'CAPRI':2690.0129138,
#'CYCLE':-5.2263930249,
#'CZPROB':2185196.6989,
'D2Q06C':122784.23615,
#'D6CUBE':315.49166667,
'DEGEN2':-1435.178,
'DEGEN3':-987.294,
'E226':-18.751929066,
#'ETAMACRO':-755.71521774,
'FFFFF800':555679.61165,
#'FINNIS':172790.96547,
#'FIT1D':-9146.3780924,
#'FIT1P':9146.3780924,
#'FIT2D':-68464.293294,
#'FIT2P':68464.29323200001,
#'GANGES':-109586.36355999998,
#'GFRD-PNC':6902235.9995,
'GREENBEA':-72462405.908,
#'GREENBEB':-4302147.6065,
#'GROW15':-106870941.29,
#'GROW22':-160834336.48,
#'GROW7':-47787811.815,
'ISRAEL':-896644.82186,
#'KB2':-1749.9001299000001,
#'LOTFI':-25.264706062,
#'MAROS':-58063.743701,
#'MAROS-R7':1497185.1665,
#'MODSZK1':320.61972906,
#'PEROLD':-9380.758077299999,
#'PILOT':-557.40430007,
#'PILOT.JA':-6113.1344111,
#'PILOT.WE':-2720102.7439,
#'PILOT4':-2581.1392640999998,
#'PILOT87':301.71072827,
#'PILOTNOV':-4497.2761881999995,
#'QAP8':203.5,
#'QAP12':522.89435056,
#'QAP15':1040.994041,
#'RECIPE':-266.616,
#'SC105':-52.202061212,
#'SC205':-52.202061212,
'SC50A':-64.575077059,
'SC50B':-70.0,
'SCAGR25':-14753433.060999999,
'SCAGR7':-2331389.2548,
'SCFXM1':18416.759028,
'SCFXM2':36660.261565,
'SCFXM3':54901.25455,
'SCORPION':1878.1248227,
'SCRS8':904.29998619,
'SCSD1':8.6666666743,
'SCSD6':50.500000078,
'SCSD8':904.99999993,
'SCTAP1':1412.25,
'SCTAP2':1724.8071429000001,
'SCTAP3':1424.0,
'SHARE1B':-76589.318579,
'SHARE2B':-415.73224074,
#'SHELL':1208825346.0,
'SHIP04L':1793324.538,
'SHIP04S':1798714.7004,
'SHIP08L':1909055.2114,
'SHIP08S':1920098.2105,
'SHIP12L':1470187.9193,
'SHIP12S':1489236.1344,
#'SIERRA':15394362.184,
#'STAIR':-251.26695119,
#'STANDATA':1257.6995,
#'STANDMPS':1406.0175,
'STOCFOR1':-41131.976219,
'STOCFOR2':-39024.408537999996,
#'STOCFOR3':-39976.661576,
'TRUSS':458815.84718999994,
#'TUFF':0.29214776509,
#'VTP.BASE':129831.46246,
#'WOOD1P':1.4429024116,
'WOODW':1.3044763331,
}


NETLIB_INSTANCES_TO_BENCHMARK = dict((k.lower(), v) for k,v in NETLIB_INSTANCES_TO_BENCHMARK.items())  # lowercase
