0

Here is the problem Excel solver need to change the values of variables a, b, c, d, e, f in a way that it gives the optimization solution considering a constraint that Count of Non Zero values for variables a, b, c, d, e, f should be less than 3

Read through many online articles but didn't find a solution

2
  • 1
    Please provide some input about the constraint, or is the only constraint that the count of non-zero values should be less than 3? If that's the case there are too many optimal solutions... Commented Jul 10, 2020 at 17:24
  • Each variable has different weightage, A variable has a weightage 0.1 similarly others variables has weightage i.e B (0.2), C (0.3), D(0.4),E(0.5),F(0.6). Values for variables need to change in a way that sumproduct value * weightage should be equal to 12 but only 3 variables need to be non zero. Commented Jul 12, 2020 at 16:16

1 Answer 1

0

In Excel, you should have the Solver Add-In (see: this is you do not have it)

Next I created a sheet like this (using control+backquoot to show the formulas)

enter image description here

After make field G3 active, and click on Data/Solver via the menu.

In Dutch 'Solver' is 'Oplosser', the rest of the text in this screenshot is also in Dutch (you can say thanks to Microsoft for that! (i do not know where you can do that!))

enter image description here

Anyway, after entering the correct values, and hitting the 'Solve' (or 'Opslossen') button, I do get:

enter image description here

A correct solution to your problem is: A=4; E=4; F=16 and (B=0; C=0; D=0)

I did assume the numbers in A...F should not have decimals, be: 'geheeltallig'

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.