reho.model.postprocessing.write_results#

Extracts the results from the AMPL model and converts it to Python dictionary and pandas dataframes.

Functions

filter_numerical_instabilities(df[, threshold])

Return a copy of df where any numeric cell with |value| < threshold has been replaced by exact 0.

get_ampl_data(ampl, ampl_name[, multi_index])

get_ampl_dual_values_in_pandas(ampl, ...)

get_df_Results_from_MP(ampl[, binary, ...])

get_df_Results_from_SP(ampl, scenario, ...)

set_df_Interperiod(ampl)