randomize Input Feasible Value
fun randomizeInputFeasibleValue(map: MutableMap<String, Double>, rnStream: RNStreamIfc = KSLRandom.defaultRNStream(), name: String = randomInputName(rnStream)): InputMap(source)
Randomly generates a new value for the named input variable and a new input map. The input should be feasible with respect to linear or functional constraints. If the number of sampling iterations needed to get a feasible point exceeds maxFeasibleSamplingIterations then an IllegalStateException will occur.
Return
the randomly generated point.
Parameters
name
the name of the input variable to randomize. Must be a valid name for the input map and thus for the problem.
map
the input map for which the named variable will be changed
rn Stream
the stream to use when generating random points within the input range space. By default, this uses the default random number stream KSLRandom.defaultRNStream