Objective functional approximation in a partially defined optimization problem