Skip to content

Commit

Permalink
pump new release
Browse files Browse the repository at this point in the history
jbytecode committed Apr 29, 2024
1 parent 4fc777b commit acdaf99
Showing 3 changed files with 29 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
### 0.1.8 (Upcoming release)
### 0.1.9 (Upcoming Release)


### 0.1.8

- pmedian now returns a PMedianResult object rather than a Dict{String, Any}.
- Implement knapsack() for solving the classical Knapsack problem using mathematical optimization.

### 0.1.7

2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "OperationsResearchModels"
uuid = "8042aa49-e599-49ec-a8f7-b5b80cc82a88"
authors = ["Mehmet Hakan Satman <[email protected]>"]
version = "0.1.7"
version = "0.1.8"

[deps]
HiGHS = "87dc4568-4c63-4d18-b0c0-bb2238e4078b"
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -310,3 +310,26 @@ Status: CONVERGED!
[ Info: Objective value: 183.33333333333334

```
## The Classical Knapsack Problem
```julia
julia> using OperationsResearchModels

julia> values = [1, 5, 89, 10];

julia> weights = [5, 6, 3, 5];

julia> result = knapsack(values, weights, 8);

julia> result.selected
4-element Vector{Bool}:
0
0
1
1

julia> result.objective
99.0
```

2 comments on commit acdaf99

@jbytecode
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/105832

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.8 -m "<description of version>" acdaf9907a6972c1f89c1ea855ea4acb384ce0a8
git push origin v0.1.8

Please sign in to comment.