optimize eval_mapping_data_in_qp()
optimize eval_variable_in_qp()