I'm trying to find coefficients in theoretical function of uranium mining by minimizing distance between theretical function and actual values. And I'm getting the following: NOTE: The problem has 201 variables (0 free, 0 fixed). NOTE: The problem has 0 linear constraints (0 LE, 0 EQ, 0 GE, 0 range). NOTE: The problem has 0 nonlinear constraints (0 LE, 0 EQ, 0 GE, 0 range). WARNING: No objective has been specified. A constant zero objective will be used. NOTE: The problem is a pure network instance. The ALGORITHM=NETWORK option is recommended for solving problems with this structure. NOTE: The LP presolver value AUTOMATIC is applied. NOTE: The LP presolver removed all variables and constraints. NOTE: Optimal. NOTE: Objective = 0. Here is my code. proc optmodel PRESOLVER=NONE; * set initializing; set <str> BLOCKS; set PERIODS=1..100; * data reading; num reserves{BLOCKS}; num extraction{BLOCKS, PERIODS}, ls{BLOCKS, PERIODS}; read data libor.activeblocks_b into BLOCKS=[eqtypecode] reserves; read data libor.active_b into [eqtypecode p_code] ls extraction; var A{BLOCKS} >=0.1 <=3, V{BLOCKS} >=0.1 <=2, d{BLOCKS} >=0.1 <=1.5; impvar _textraction{b in BLOCKS, p in PERIODS}=(reserves[b]/(1+(A[b]*(exp(-V[b]*(ls[b,p]-(d[b]/ls[b,p]))))))); min _dist{b in BLOCKS}=sum{p in PERIODS} ((_textraction[b,p]-extraction[b,p]*1000)^2); solve; for {b in BLOCKS, p in PERIODS} do; textraction[b,p]=(reserves[b]/(1+(A[b]*(exp(-V[b]*(ls[b,p]-(d[b]/ls[b,p]))))))); end; create data libor.coef from [block]=BLOCKS A V d; create data libor.teor from [block p_code]={BLOCKS, PERIODS} textraction extraction ls; quit; Please help, I can't understand what's wrong with my code.
... View more