Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2016-10-08 07:03:02

Anonymous_helpseeker
Guest

Optimizing complicated function

Hey do you guys know of any tool that can help me optimize a rather complicated function?

Here is the exact function...

...and I need to find its global MINIMA (the max is part of the function) subject to:

#2 2016-10-08 08:54:50

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Optimizing complicated function

Hi;

Mathematica can do it but I do not understand what you are asking so I am unable to use it.

You can try mathematica.stackexchange.com/


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#3 2016-10-08 22:10:13

Matir
Member
Registered: 2016-10-08
Posts: 22

Re: Optimizing complicated function

Oops sorry, I just need to find

such that the function is minimized. Also, I forgot to add
in the constrains. Here are the constrains for copy-pasting:

Offline

#4 2016-10-09 01:30:51

thickhead
Member
Registered: 2016-04-16
Posts: 1,086

Re: Optimizing complicated function

Anonymous_helpseeker wrote:

Hey do you guys know of any tool that can help me optimize a rather complicated function?

Here is the exact function..

I hope this makes the problem more readable.

Last edited by thickhead (2016-10-09 05:09:38)


{1}Vasudhaiva Kutumakam.{The whole Universe is a family.}
(2)Yatra naaryasthu poojyanthe Ramanthe tatra Devataha
{Gods rejoice at those places where ladies are respected.}

Offline

#5 2016-10-09 04:55:30

Matir
Member
Registered: 2016-10-08
Posts: 22

Re: Optimizing complicated function

thickhead wrote:
Anonymous_helpseeker wrote:

Hey do you guys know of any tool that can help me optimize a rather complicated function?

Here is the exact function..

...and I need to find its global MINIMA (the max is part of the function) subject to:

I hope this makes the problem more readable.

I think you might be confusing things even more. The max function is part of the function. Should I say:

and I need to minimize S?

Offline

#6 2016-10-09 13:30:35

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Optimizing complicated function

Hi;

Do you know what the answer is? I was unable to find a nice closed form but I have a good numerical value and a bound if needed.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#7 2016-10-09 18:58:13

Matir
Member
Registered: 2016-10-08
Posts: 22

Re: Optimizing complicated function

Oops no I have no idea about the answer (that's why I posted the question in the first place) Numerical values would be nice...

Offline

#8 2016-10-09 19:30:09

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Optimizing complicated function

I am getting 23.23285637374824226181737037141376514145207512396272


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#9 2016-10-09 23:03:26

Matir
Member
Registered: 2016-10-08
Posts: 22

Re: Optimizing complicated function

I expected it to be around 25...

Thanks for the number to 20 places, but I really would have needed just 4 places. What about the

s? Actually, they might be more valuable for me...

Offline

#10 2016-10-10 00:44:09

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Optimizing complicated function

B0 = 0.1648056655557596774507804494
B1 = 0.14069040189635455254455518183
B2 = 0
B3 = 0.051135149049937002977770545
B4 = 0.3765373416468427935424526
B5 = 0.2668314418511059734844411905
B6 = 0


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#11 2016-10-11 00:40:20

Matir
Member
Registered: 2016-10-08
Posts: 22

Re: Optimizing complicated function

Thanks for the numbers. No

? This could potentially mean oversimplification of the original problem... (which is err my problem)

Offline

#12 2016-10-11 01:59:21

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Optimizing complicated function

You could force a B2 by changing the constraint to B2 > 0.


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#13 2016-10-21 22:27:06

Matir
Member
Registered: 2016-10-08
Posts: 22

Re: Optimizing complicated function

Nope that's not it. Either I have mismodeled my problem, or the optimal solution wasn't as I had expected.

Offline

#14 2016-10-22 01:08:58

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

Re: Optimizing complicated function

What was the original problem?


In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

Board footer

Powered by FluxBB