Skip to content

Conversation

@timothy-nunn
Copy link
Collaborator

@timothy-nunn timothy-nunn commented Apr 15, 2025

The example was converging on the maxima before, not the minima. I think the initial point of $x=(a,a)$ causes it to search directly orthogonal to the constraint boundary and become stuck with a 0 gradient. Moving the point slightly in y means the search direction is not orthogonal to the constraint boundary and it no longer finds a maxima.

@timothy-nunn timothy-nunn marked this pull request as draft April 15, 2025 09:11
@timothy-nunn timothy-nunn force-pushed the correct-example-wiki branch from 6a2138b to b3900da Compare April 15, 2025 09:17
@timothy-nunn timothy-nunn self-assigned this Apr 15, 2025
@timothy-nunn timothy-nunn marked this pull request as ready for review April 15, 2025 13:25
@timothy-nunn timothy-nunn merged commit 78716ce into main Jun 11, 2025
20 checks passed
@timothy-nunn timothy-nunn deleted the correct-example-wiki branch June 11, 2025 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants