The following messages for Custom Profiler objects are available only in JSL:
// returns the current value of the objective function
profiler_object << Get Objective
// set the formula for the objective function
profiler_object << Objective Formula
// returns the formula for the objective function as an expression
profiler_object << Get Objective Formula