You are viewing Nextmv legacy docs. ⚡️ Go to latest docs ⚡️

Upgrade Guide

v0.15.0 Upgrade Guide

Nextmv SDK

Note, this release includes breaking changes and you now must have Go version >= 1.18 installed.

  • Set your go.mod requirements to match the new version.
require ( v0.15.0 v0.15.0

If you did not set the solver's limits for duration, nodes, or solutions before, the new default values of 10s and model.MaxInt will be used respectively. The options can be set via environmental variables or directly in code.

opt := solve.DefaultOptions()
opt.Limits.Duration = time.Duration(30 * time.Second)
opt.Limits.Nodes = 10
opt.Limits.Solutions = 10

Page last updated