Skip to main content
14-Alexandrite
October 26, 2023
Question

Pooling problem optimization

  • October 26, 2023
  • 1 reply
  • 6160 views

Hello Community, 

I have the following task to solve and i dont know how to do it. I guess its just possible with programming well maybe someone can help me.

In the attached sheet i have a pooling problema optimization.

Could anybody help me to find coding to solve pooling problem optimization using Mathcad?

Thanks in advance 

Greetings

CarlosRomero

 

1 reply

21-Topaz II
October 26, 2023

Hi,'

A better response is gained if you try first then we help.

 

To get you started look up solve blocks in help.

For the solve block you define the objective function in terms of the 32 variables,

Guess the values of the 32 variables in the guess section of the solve block.  I suggest you use the middle of the range of each variable as a start

Set up the constraints in the constraints part of the solve block including the 32 variable range constraints.

Use the maximize function in  the solve part of the solve block with your objective function name as parameter plus the list of 32 variables.

 

There is a video in the Prime help on "maximize" as a search term that will explain in more detail.

 

Cheers

Terry

 

21-Topaz II
October 27, 2023

Hi,

Enclosed Prime 9.0 file. Gets the correct 3500.000 objective function value but with different values than the example.

This could be a different answer with different guess values to start.

You can check the equations.

Cheers

Terry

14-Alexandrite
October 27, 2023

Hello Terry,

I am working with Mathcad 15.

Could you attached in M15?

Thanks.

CarlosRomero