Všechno Nové

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Přihlásit se


Všechno Nové Přihlásit se

Všechny gisty

Nedávno Vytvořeno
Nejméně nedávno Vytvořeno
Nedávno Aktualizováno
Nejméně nedávno Aktualizováno

neil / Fast direct relaxation of implicit functions

0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 3 months ago
The example is from Scott et al., 2011. Generalized mccormick relaxations. Journal of Global Optimization, 51(4), pp.569-606.
implicit-functions mccormick-relaxations
1 using McCormick, BenchmarkTools
2
3 """
4 Direct relaxation of implicit function
5 """
6 function direct_relax(f, x, p)
7 delta = Inf
8 while delta > 1e-8
9 x_prev = x
10 x = f(x, p)
Novější Starší

Vytvořeno pomocí Opengist ⋅ Load: 18ms⋅

Čeština
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文