I would to find optimal point by solving Multi-objective problem, I want to maximize f2, and minimize f1 with constraint cost <= 0.50. So out of this table need the program or PROC output x1 and x2 that produced the maximum f2, and the minimum f1. ANY help
Thanks..
The problem is that with mathematical programming you can usually only optimize towards one objective. So if you want to search for a set of points in your problem so that the sum over the cost of the points is less than 0.5 you can write a model with PROC OPTMODEL that looks like this:
proc optmodel;
set POINTS;
num f1{POINTS};
num f2{POINTS};
num cost{POINTS};
num x1{POINTS};
num x2{POINTS};
read data one into POINTS=[_N_] f1 f2 cost x1 x2;
var x{POINTS} binary;
max maxf2 = sum{j in POINTS} f2 * x;
con costcon: sum{j in POINTS} cost * x
solve;
print {j in POINTS: x > 0.5} x1 {j in POINTS: x > 0.5} x2;
quit;
To also optimize for f1 on top of that you need a multi objective technique like goal programming.
But I am not sure that this is really what you want to do. If it is just about finding one point out of a list like the one above it could be as simple as running through the list and choosing the point that satisfies the contraints and has the best combined objective for f1 and f2. But for that you would need to know the exact relation between you two objective. A possible combined objective would be max f2 + (1 - f1).
If you do not have a discrete set of points and algebraic definitions of the functions f1 and f2 you might yet need another type of procedure.
I hope that helped a bit.
Philipp
P.S.: Replace equal with = in the code to make it work.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!