refactor objective function to be partially applied with current objects, and for pack/unpack to use the current objects (including varying categorical params such as selection)
refactor objective function to be partially applied with current objects, and for pack/unpack to use the current objects (including varying categorical params such as selection)

penrose/penrose,penrose/penrose,penrose/penrose,penrose/penrose