Multivariant Optimization Algorithm (go version)