I have a problem like following to be implemented in java.
item Profit Availability Quality
1 20 6 55
2 18 8 67
3 16 7 70
4 13 9 80
5 17 8 85
I have data here in above format. I have desired value for Profit, Availability and quality to be achieved.
Aim is to have a solution consisting of items that satisfy my desired values of profit, availability and quality.
My Approach: I have to apply some algo. by passing Profit and availability with maximum limit of Availability as M,for example M=10
. Now it will give me some items to be taken as part of my solution.
Now I have to apply some algorithm to obtain maximum value of quality on the solution achieved by above algorithm. I can interchange some items which have been included in my solution to increase my quality parameter. but I have to ensure that these modifications should not drastically change profit and availability. please recommend if there any better solution for this requirement.