https://123dok.net/document/z3dlw2g8-nonlinear-optimization-integer-variables-application-location-reservoir-engineering.html