bobpijnenburg

New Member
Joined
Jun 1, 2015
Messages
4
Hi All,

I have a question about the excel solver. I can optimize via the GRG nonlinear, but that might give me solely local minimums, where I must find global minimums.

periodforecastStockLost salesStock keeping costCost of lost salesSalesCost of salesStock capacity
0
008040100
170100406000704000100
250180406000504000100
330670406000304000100
450940406000504000100
5701000406000704000100
680960406000804000100
790820406000904000100
81005704060001004000100
91102104060001104000100
1010006406000944000100
1190017406000734000100
128007406000734000100
Goal function
3761800
Resources UsedResources Available
08080
10<=80
258<=80
379<=79
477<=77
576<=76
676<=76
776<=76
875<=75
974<=74
1073<=73
1173<=73
1273<=73

<colgroup><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>

This is the data, A1 = "period".

The solver:
Goal function: $B$18 (Min)

Variables: $B$22:$B$33

S.t.
$B$22:$B$33<=$D$22:$D$33
$B$22:$B$33 = integer
$C$3:$C$15<=$J$3:$J$15

With GMG nonlinear it works, but not with Simplex LP.

Linearity report:

CelNaamOorspronkelijke waardeEindwaardeLineaire functie
$B$18Goal function37618003761800Nee
CelNaamOorspronkelijke waardeEindwaardeVindt lineair plaats
$B$22Resources Used00Nee
$B$23Resources Used5858Nee
$B$24Resources Used7979Nee
$B$25Resources Used7777Nee
$B$26Resources Used7676Nee
$B$27Resources Used7676Nee
$B$28Resources Used7676Nee
$B$29Resources Used7575Nee
$B$30Resources Used7474Nee
$B$31Resources Used7373Nee
$B$32Resources Used7373Nee
$B$33Resources Used7373Nee
CelNaamCelwaardeFormuleLineaire functie
$C$3Stock80$C$3<=$J$3Ja
$C$4Stock10$C$4<=$J$4Nee
$C$5Stock18$C$5<=$J$5Ja
$C$6Stock67$C$6<=$J$6Ja
$C$7Stock94$C$7<=$J$7Ja
$C$8Stock100$C$8<=$J$8Ja
$C$9Stock96$C$9<=$J$9Ja
$C$10Stock82$C$10<=$J$10Ja
$C$11Stock57$C$11<=$J$11Ja
$C$12Stock21$C$12<=$J$12Ja
$C$13Stock0$C$13<=$J$13Ja
$C$14Stock0$C$14<=$J$14Ja
$C$15Stock0$C$15<=$J$15Ja

<colgroup><col><col><col><col><col></colgroup><tbody>
</tbody>

Thanks for helping me out, it might be a simple solution, but I'm stuck for days...

Kind regards,

Bob Pijnenburg
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Extra info: the stock is the positive value of the previous stock + resources used (production) - demand. The lost sales are the negative values. The goal funtio is the somproduct of: the lost sales and their costs, the stock and their costs and the production and their costs.

thanks!
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,583
Members
449,089
Latest member
Motoracer88

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