https://123dok.net/document/zlng86gq-optimizing-partially-separable-functions-without-derivatives.html