Skip to main content
21-Topaz II
Oct 22, 2026 10:13 AM UTC
Solved

Problem with Minimize

Hello everyone! I need to minimize an objective function, but the algorithm fails to converge. I have tried changing the initial conditions several times, yet nothing changes. Given the extensive experience of the members of this community, I would be very grateful if someone could help me solve this problem. Thanks again. Best regards.

19-Tanzanite
Oct 23, 2026 11:23 AM UTC

Like the attached?

Note I’ve arbitrarily set beta_min to 1 as it wasn’t defined in the worksheet.

 

 

9 replies

19-Tanzanite
Oct 22, 2026 11:25 AM UTC

You haven’t defined U0, n, or b.

Look carefully at your definition of Av-target.

There are other problems, but fix those first.

Translate
-MFra-21-Topaz IIAuthor
21-Topaz II
Oct 23, 2026 9:47 AM UTC

Here is the revised version, but it still doesn't work!

Translate
Werner_E
25-Diamond I
Oct 22, 2026 2:58 PM UTC

Your function P.diss is a simple linear function which depends on I.tot only.

The arguments G.1m G.2, G.C and G.E you used when you defined the function are obsolete as they are not used in any way in the definition. So you also can’t minimize that function with respect to these variables.

P.S.: I don't visit this forum as often anymore, and I just noticed that you can't even paste images directly anymore. I get an error message saying something went wrong and that I should check my link(???) and try again.
Is this a known issue? Has the situation here on the forum actually gotten even worse, or is this just a temporary glitch?

 

Translate
-MFra-21-Topaz IIAuthor
21-Topaz II
Oct 22, 2026 3:42 PM UTC

Here is the revised and corrected version, but it still doesn't work!

 

Translate
19-Tanzanite
Oct 23, 2026 11:23 AM UTC

Like the attached?

Note I’ve arbitrarily set beta_min to 1 as it wasn’t defined in the worksheet.

 

 

Translate
terryhendicott
21-Topaz II
Oct 23, 2026 2:04 AM UTC

Hi Werner,

You are not the only one who cannot paste an image.  You used to be able to so it must just be a glitch.

Translate
Werner_E
25-Diamond I
Oct 23, 2026 4:01 AM UTC

Thanks for trying. I just tried and it still does not work.

Hope the admins are aware of the problem.
Is there a generic username for admins like @admin?
Of course, we can try to get the attention of ​@Jaime_Lee , ​@olivierlp  or ​@AndrewK  but a generic name would definitely make sense IMHO (the same goes for the mods).

Translate
AndrewK
Community Manager
Oct 23, 2026 12:18 PM UTC

Hello, thanks for calling this out. I just learned Gainsight has temporarily disabled images due to the PHP vulnerability. They have already patched the vulnerability, so full functionality should be restored soon.

 

As far as an @admin or something similar that’s a great idea. I also plan to restore the “Contact the Community Team” link we had throughout the community at some point. The previous platform was heavily customized so it will take time to restore some of those customizations on this new platform. In the meantime, you can @ mention us or use the “Report” menu option on any post even if you aren’t actually reporting that post. It will send us all a notification with your message.

Translate
Werner_E
25-Diamond I
Oct 23, 2026 1:47 PM UTC

Thanks for the information, Andrew.

Since the site was up and running, I hadn't considered the PHP bug. It's interesting that only specific aspects - like embedding images -are affected. So no need to “check the link and try again” as the error message suggests. 

As for the “Contact the Community Team” feature, I think that would make a lot of sense, and that the right-hand column could finally serve a useful purpose for that—as well as for any communication involving generic “user” names. I’ve made no secret of the fact that I consider information about “New Solutions” from forum sections that aren’t relevant to the currently selected one to be pretty worthless. I also can hardly imagine that anyone cares who just received a badge for some “achievement.”

In my opinion, the outer column would be ideal for links to those threads that currently appear so prominently (and, to me, distractingly) at the top of the thread lists as sticky threads. In the past, you could easily block them with an ad blocker because new posts in those threads would still appear in the “normal” thread list anyway. That’s no longer the case.

As for the “Report” option: I thought this would reach the Mods only, not the Admins.

 

Translate