docstr: Translates model input to objective input
  with respect to current variable
docstr_tok: ["Translates","model","input","to","objective","input","with","respect","to","current","variable"]
code: def model_to_objective(self, x_model, index_in_model):
      """
      Translates model input to objective input
      with respect to current variable
      """
      return [x_model[0, index_in_model]]
  
imports: import numpy
  from copy import deepcopy
  from ..errors import InvalidConfigError
label_desc: Use image node_id 5 for calling the Variable obj's underlying member method code with example usage: obj.model_to_objective(x_model, index_in_model) and returns: list