An open API service indexing awesome lists of open source software.

https://github.com/mitmul/downhillsimplex


https://github.com/mitmul/downhillsimplex

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

DownhillSimplex
======================
滑降シンプレックス法で非線形多峰性関数を最適化するサンプル.

+ DownhillSimplexクラスのインスタンスを作る
+ その際にシンプレックスの数と,探索変数の次元数をコンストラクタに渡す
+ インスタンスからconvergeメソッドを呼ぶ.この際に収束条件(最善の評価値と最悪の評価値を使った値の限界値と,計算回数の限界値)を渡してやる
+ 結果は探索変数がgetResult()から,最終的なコストの値がgetFinalCostから取得できる