Data Science, Machine Learning, Causal Inference, AI, Linear Programming.
naive_order_value = round(best_df_cum.iloc[opt_index]['value'], 0) naive_cost_check = round(best_df_cum.iloc[opt_index]['cost'], 0) print(f'The total order value from the naive treatment strategy is {naive_order_value} with a cost of {naive_cost_check}') User generated image Optimising treatment