What is the best way to solve and assign values to constraints with multiple weights, for the best value?

wirelessuser0118

New Member
Joined
Apr 1, 2016
Messages
1
Thank you in advance for any suggestions. I have tried looking up SOLVER, GOAL SEEK, and most recently KNAPSACK. I'm not sure what is best., or if it is possible.

There are 3 types: BASIC, SMART, and DEVICE

In this particular group there are
17 BASICs

48 SMARTs

22 DEVICEs


Now here's the difficult part, The three types have different weights to them.

BASIC:
Weight: .01 | Value: $35

SMART:
Weight: 2 | Value: $65
Weight: 4 | Value: $75
Weight: 6 | Value: $85
Weight: 8 | Value: $95
Weight: 10 | Value: $105

DEVICE:
Weight: 2 | Value: $65
Weight: 4 | Value: $75
Weight: 6 | Value: $85
Weight: 8 | Value: $95
Weight: 10 | Value: $105

GOAL: 265
VALUE: Best price

What I want to solve is given the type constraints, what combination of their options would match a Weight of 265 at the best Value? Possibly, but not necessarily providing different outcomes. Even if it's not perfect, just having the tool as a base to work off of will be helpful.

I will be using this on a variety of different groups, so it seems solver would have to be programmed each time to different numbers of TYPES, how would I go about automating this?
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Forum statistics

Threads
1,223,270
Messages
6,171,103
Members
452,379
Latest member
IainTru

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top