Generalization of pseudo likelihood to sets of variables, instead of a single one
A list of sets of variables. Each set cannot be longer than four.
The model
Put objective value and gradient into the accumulators.
Put objective value and gradient into the accumulators. Either argument can be null if they don't need to be computed.
Accumulator to hold value
Accumulator to hold gradient