Skip to content

hitandrun

"Hit and Run" and "Shake and Bake" for Sampling Uniformly from Convex Shapes

v0.5-6 · May 27, 2022 · GPL-3

Description

The "Hit and Run" Markov Chain Monte Carlo method for sampling uniformly from convex shapes defined by linear constraints, and the "Shake and Bake" method for sampling from the boundary of such shapes. Includes specialized functions for sampling normalized weights with arbitrary linear constraints. Tervonen, T., van Valkenhoef, G., Basturk, N., and Postmus, D. (2012) <doi:10.1016/j.ejor.2012.08.026>. van Valkenhoef, G., Tervonen, T., and Postmus, D. (2014) <doi:10.1016/j.ejor.2014.06.036>.

Downloads

1.8K

Last 30 days

2952nd

5.9K

Last 90 days

33.9K

Last year

Trend: -16.4% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (3)

imports

suggests

Dependency Network

Dependencies Reverse dependencies rcdd brisk hypervolume smaa hitandrun

Version History

new 0.5-6 Mar 10, 2026
updated 0.5-6 ← 0.5-5 diff May 26, 2022
updated 0.5-5 ← 0.5-4 diff Jan 7, 2019
updated 0.5-4 ← 0.5-3 diff May 20, 2018
updated 0.5-3 ← 0.5-2 diff Dec 22, 2016
updated 0.5-2 ← 0.5-1 diff Jul 9, 2015
updated 0.5-1 ← 0.5 diff Apr 18, 2015
updated 0.5 ← 0.4-2 diff Jan 5, 2015
updated 0.4-2 ← 0.4-1 diff Aug 4, 2014
updated 0.4-1 ← 0.4 diff Jan 13, 2014
updated 0.4 ← 0.3 diff Nov 26, 2013
updated 0.3 ← 0.2-2 diff Oct 30, 2013
updated 0.2-2 ← 0.2-1 diff Aug 21, 2013
updated 0.2-1 ← 0.2 diff Jul 10, 2013
new 0.2 Jan 9, 2012