Skip to content

Commit

Permalink
Merge pull request #14 from nextmv-io/chore/upgrade-go-mip
Browse files Browse the repository at this point in the history
Upgrade go-mip
  • Loading branch information
sebastian-quintero authored Aug 28, 2024
2 parents d497e26 + 814874d commit bd942d8
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 28 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/nextmv-io/go-highs

go 1.21

require github.com/nextmv-io/go-mip v1.5.1
require github.com/nextmv-io/go-mip v1.6.0

require (
github.com/sergi/go-diff v1.3.1 // indirect
Expand All @@ -15,7 +15,7 @@ require (
github.com/gorilla/schema v1.4.1 // indirect
github.com/iancoleman/strcase v0.3.0 // indirect
github.com/itzg/go-flagsfiller v1.14.0 // indirect
github.com/nextmv-io/sdk v1.6.3
github.com/nextmv-io/sdk v1.8.0
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,10 @@ github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lN
github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
github.com/nextmv-io/go-mip v1.5.1 h1:fXWdvt/7OnSlxH/nZFS94QQx1ZknEwOOLM7nbyFlr9w=
github.com/nextmv-io/go-mip v1.5.1/go.mod h1:4iBVtYsW7XOkCXAKeRLHdiZ3WoTehqemlYyhHcFEHlg=
github.com/nextmv-io/sdk v1.6.3 h1:Jtqxmn8FTvhRM1kIyaukB6k/2ekXBI8+h8acEZpPMLs=
github.com/nextmv-io/sdk v1.6.3/go.mod h1:Y48XLPcIOOxRgO86ICNpqGrH2N5+dd1TDNvef/FD2Kc=
github.com/nextmv-io/go-mip v1.6.0 h1:UULt5UcLvLLISWMcXBq+1Q+rO9eV9gUH15wT0dfCzZM=
github.com/nextmv-io/go-mip v1.6.0/go.mod h1:8kETFsctIoqHLo+YpBoo9QdXYvhxUxJzJzyCQaf6YLc=
github.com/nextmv-io/sdk v1.8.0 h1:EqYibIyeaFRc9zgyPUUwbD2nx9z37l18YfJfVe1wHCU=
github.com/nextmv-io/sdk v1.8.0/go.mod h1:Y48XLPcIOOxRgO86ICNpqGrH2N5+dd1TDNvef/FD2Kc=
github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc=
github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc=
github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc=
Expand Down
8 changes: 4 additions & 4 deletions tests/incentive-allocation/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ func TestGolden(t *testing.T) {
"-solve.duration", "10s",
},
TransientFields: []golden.TransientField{
{Key: ".version.sdk", Replacement: golden.StableVersion},
{Key: ".version.go-mip", Replacement: golden.StableVersion},
{Key: ".statistics.result.duration", Replacement: golden.StableFloat},
{Key: ".statistics.run.duration", Replacement: golden.StableFloat},
{Key: "$.version.sdk", Replacement: golden.StableVersion},
{Key: "$.version.go-mip", Replacement: golden.StableVersion},
{Key: "$.statistics.result.duration", Replacement: golden.StableFloat},
{Key: "$.statistics.run.duration", Replacement: golden.StableFloat},
},
Thresholds: golden.Tresholds{
Float: 0.01,
Expand Down
8 changes: 4 additions & 4 deletions tests/knapsack/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ func TestGolden(t *testing.T) {
"-solve.duration", "10s",
},
TransientFields: []golden.TransientField{
{Key: ".version.sdk", Replacement: golden.StableVersion},
{Key: ".version.go-mip", Replacement: golden.StableVersion},
{Key: ".statistics.result.duration", Replacement: golden.StableFloat},
{Key: ".statistics.run.duration", Replacement: golden.StableFloat},
{Key: "$.version.sdk", Replacement: golden.StableVersion},
{Key: "$.version.go-mip", Replacement: golden.StableVersion},
{Key: "$.statistics.result.duration", Replacement: golden.StableFloat},
{Key: "$.statistics.run.duration", Replacement: golden.StableFloat},
},
Thresholds: golden.Tresholds{
Float: 0.01,
Expand Down
10 changes: 5 additions & 5 deletions tests/meal-allocation/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ func TestGolden(t *testing.T) {
"-solve.duration", "10s",
},
TransientFields: []golden.TransientField{
{Key: ".version.sdk", Replacement: golden.StableVersion},
{Key: ".version.go-mip", Replacement: golden.StableVersion},
{Key: ".statistics.result.duration", Replacement: golden.StableFloat},
{Key: ".statistics.run.duration", Replacement: golden.StableFloat},
{Key: "$.version.sdk", Replacement: golden.StableVersion},
{Key: "$.version.go-mip", Replacement: golden.StableVersion},
{Key: "$.statistics.result.duration", Replacement: golden.StableFloat},
{Key: "$.statistics.run.duration", Replacement: golden.StableFloat},
},
DedicatedComparison: []string{
".statistics.result.value",
"$.statistics.result.value",
},
},
)
Expand Down
10 changes: 5 additions & 5 deletions tests/shift-scheduling/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ func TestGolden(t *testing.T) {
"-solve.duration", "10s",
},
TransientFields: []golden.TransientField{
{Key: ".version.sdk", Replacement: golden.StableVersion},
{Key: ".version.go-mip", Replacement: golden.StableVersion},
{Key: ".statistics.result.duration", Replacement: golden.StableFloat},
{Key: ".statistics.run.duration", Replacement: golden.StableFloat},
{Key: "$.version.sdk", Replacement: golden.StableVersion},
{Key: "$.version.go-mip", Replacement: golden.StableVersion},
{Key: "$.statistics.result.duration", Replacement: golden.StableFloat},
{Key: "$.statistics.run.duration", Replacement: golden.StableFloat},
},
DedicatedComparison: []string{
".statistics.result.value",
"$.statistics.result.value",
},
},
)
Expand Down
8 changes: 4 additions & 4 deletions tests/solve_control_parameters/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ func TestGolden(t *testing.T) {
"-solve.control.string", "presolve=off",
},
TransientFields: []golden.TransientField{
{Key: ".version.sdk", Replacement: golden.StableVersion},
{Key: ".version.go-mip", Replacement: golden.StableVersion},
{Key: ".statistics.result.duration", Replacement: golden.StableFloat},
{Key: ".statistics.run.duration", Replacement: golden.StableFloat},
{Key: "$.version.sdk", Replacement: golden.StableVersion},
{Key: "$.version.go-mip", Replacement: golden.StableVersion},
{Key: "$.statistics.result.duration", Replacement: golden.StableFloat},
{Key: "$.statistics.run.duration", Replacement: golden.StableFloat},
},
Thresholds: golden.Tresholds{
Float: 0.01,
Expand Down

0 comments on commit bd942d8

Please sign in to comment.