Skip to content

Commit

Permalink
Merge pull request #9 from nextmv-io/v1.5.0-dev.2
Browse files Browse the repository at this point in the history
Version v1.5.0-dev.2
  • Loading branch information
merschformann authored Mar 15, 2024
2 parents a5a0844 + 7aed522 commit 8c3fe42
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 8 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,11 @@ nextmv community clone -a knapsack-gosdk

For further information on how to get started, features, deployment, etc.,
please refer to the [official documentation](https://docs.nextmv.io/docs/mixed-integer-programming).

## Versioning

We try our best to version our software thoughtfully and only break APIs and
behaviors when we have a good reason to.

* Minor (`v1.^.0`) tags: new features, might be breaking.
* Patch (`v1.0.^`) tags: bug fixes.
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 v0.0.0-20240221135914-bf2265519acb
require github.com/nextmv-io/go-mip v1.5.0-dev.2

require (
github.com/sergi/go-diff v1.3.1 // indirect
Expand All @@ -15,7 +15,7 @@ require (
github.com/gorilla/schema v1.2.0 // indirect
github.com/iancoleman/strcase v0.2.0 // indirect
github.com/itzg/go-flagsfiller v1.9.1 // indirect
github.com/nextmv-io/sdk v1.3.1-0.20240220144909-88ba9907052f
github.com/nextmv-io/sdk v1.5.0-dev.2
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 @@ -303,8 +303,10 @@ github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjY
github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
github.com/nextmv-io/go-mip v0.0.0-20240221135914-bf2265519acb h1:rbnGYL3j1PntYuuT/3qfCKjB7Fzdg2mFRx2D2Nm76nA=
github.com/nextmv-io/go-mip v0.0.0-20240221135914-bf2265519acb/go.mod h1:UJXRxve54GxpHUe3fGsBxlmawA9gpWxwDOS5UqS6Tn4=
github.com/nextmv-io/sdk v1.3.1-0.20240220144909-88ba9907052f h1:OLDqQkL/FK8CX7//qZGa6A4rTnHqUPYBCMmlSupVvOk=
github.com/nextmv-io/sdk v1.3.1-0.20240220144909-88ba9907052f/go.mod h1:lA3YgE1vdclPwQfPH3jFo76WXx5snk9XOWX2PCMO8cc=
github.com/nextmv-io/go-mip v1.5.0-dev.2 h1:wtJw39B57vtTIGtsRe1qYcK7ffxCFE9XpC5ziZBl4aM=
github.com/nextmv-io/go-mip v1.5.0-dev.2/go.mod h1:eMyE1PiL/c65MTG+BJ4XwexxbVVb7yjBSzoi0PXwSuw=
github.com/nextmv-io/sdk v1.5.0-dev.2 h1:DbzrHNT8Owy86Poh5GO3t0kD8rPU3I6cOs2+CDa0UNs=
github.com/nextmv-io/sdk v1.5.0-dev.2/go.mod h1:4kKTivuXdlx2ky+ZkBeUkTPIc8BTJ0PqKFYF3B+wCy4=
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 Expand Up @@ -418,8 +420,6 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0
golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM=
golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU=
golang.org/x/exp v0.0.0-20230811145659-89c5cff77bcb h1:mIKbk8weKhSeLH2GmUTrvx8CjkyJmnU1wFmg59CUjFA=
golang.org/x/exp v0.0.0-20230811145659-89c5cff77bcb/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc=
golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
Expand Down
1 change: 1 addition & 0 deletions tests/incentive-allocation/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func TestGolden(t *testing.T) {
},
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},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
"schema": "v1"
},
"version": {
"go-mip": "VERSION",
"sdk": "VERSION"
}
}
1 change: 1 addition & 0 deletions tests/knapsack/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func TestGolden(t *testing.T) {
},
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},
},
Expand Down
1 change: 1 addition & 0 deletions tests/knapsack/testdata/template_input.json.golden
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
"schema": "v1"
},
"version": {
"go-mip": "VERSION",
"sdk": "VERSION"
}
}
1 change: 1 addition & 0 deletions tests/meal-allocation/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func TestGolden(t *testing.T) {
},
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},
},
Expand Down
3 changes: 2 additions & 1 deletion tests/meal-allocation/testdata/template_input.json.golden
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"result": {
"custom": {
"constraints": 2,
"provider": "highs",
"provider": "HiGHS",
"status": "optimal",
"variables": 2
},
Expand All @@ -48,6 +48,7 @@
"schema": "v1"
},
"version": {
"go-mip": "VERSION",
"sdk": "VERSION"
}
}
1 change: 1 addition & 0 deletions tests/shift-scheduling/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func TestGolden(t *testing.T) {
},
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},
},
Expand Down
3 changes: 2 additions & 1 deletion tests/shift-scheduling/testdata/input.json.golden
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@
"result": {
"custom": {
"constraints": 16192,
"provider": "highs",
"provider": "HiGHS",
"status": "optimal",
"variables": 5378
},
Expand All @@ -323,6 +323,7 @@
"schema": "v1"
},
"version": {
"go-mip": "VERSION",
"sdk": "VERSION"
}
}
1 change: 1 addition & 0 deletions tests/solve_control_parameters/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func TestGolden(t *testing.T) {
},
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},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
"schema": "v1"
},
"version": {
"go-mip": "VERSION",
"sdk": "VERSION"
}
}

0 comments on commit 8c3fe42

Please sign in to comment.