Package: hitandrun 0.5-6

Gert van Valkenhoef

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

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>.

Authors:Gert van Valkenhoef [aut, cre, cph], Tommi Tervonen [aut]

hitandrun_0.5-6.tar.gz
hitandrun_0.5-6.tar.gz(r-4.5-noble)hitandrun_0.5-6.tar.gz(r-4.4-noble)
hitandrun_0.5-6.tgz(r-4.4-emscripten)hitandrun_0.5-6.tgz(r-4.3-emscripten)
hitandrun.pdf |hitandrun.html
hitandrun/json (API)
NEWS

# Install 'hitandrun' in R:
install.packages('hitandrun', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/gertvv/hitandrun/issues

Uses libs:
  • openblas– Optimized BLAS

On CRAN:

Conda:

openblas

3.79 score 9 packages 117 scripts 2.0k downloads 1 mentions 31 exports 1 dependencies

Last updated 3 years agofrom:f999355267. Checks:2 OK. Indexed: no.

TargetResultLatest binary
Doc / VignettesOKFeb 23 2025
R-4.5-linux-x86_64OKFeb 23 2025

Exports:bbRejectcreateBoundBoxcreateSeedPointcreateTransformeliminateRedundantexactRatioConstraintfindExtremePointsfindFacefindInteriorPointfindVerticesharhar.inithar.runhitandrunhypersphere.samplelowerBoundConstraintlowerRatioConstraintmergeConstraintsordinalConstraintsabsab.initsab.runshakeandbakesimplex.createConstraintssimplex.createTransformsimplex.samplesimplexConstraintssolution.basistransformConstraintsupperBoundConstraintupperRatioConstraint

Dependencies:rcdd