Hello sir, I am running a stochastic problem that has the intention to obtain the optimal profit of a factory. The data is given as three scenarios.
After running the problem, to make it easy, I first obtain the best objective, best_c, best_r, best_N_HC, best_r_HV and set them as parameters and solve manually to obtain the other variables associated with the best objective. However, among the other variables, one is uncertain. To consider this uncertainty, I set it as: P_umuriro_unc{w in WW, t in TT} = P_umuriro[w,t] + P_umuriro_error[w,t]; Where I expect to obtain the uncertain P_umuriro_unc from P_umuriro[w,t] + P_umuriro_error[w,t] which are both variables.
To obtain the new objective I wrote a new .mod file which I called Foodversion_RP2. In this file I want to use the best_c, best_r, best_N_HC, best_r_HV, umuriro_cap, Psalsa_cap, Ivomo_cap, ububiko_cap, Isooko_cap and the P_umuriro[w,t] as parameters.
My questions are:
1: is it possible to edit the run file and solve this problem by running one time?
2. If running the problem at one time is difficult, could you help me with how I can import the excel saved results of P_umuriro[w,t], load it to AMPL and use it as a parameter in Foodversion_RP2?
I have shared all my resources.