Returns the objective value given a design vector as well an an objective function. This is code duplication since this is implemented within Java. This is only to be run if...