code: def make_solver(solver_config):
      try:
          optunity.make_solver(**solver_config)
      except (KeyError, ValueError, TypeError) as e:
          msg = {"error_msg": "Unable to instantiate solver: " + str(e)}
          comm.send(comm.json_encode(msg))
          print(solver_config, file=sys.stderr)
          exit(1)
  
      msg = {"success": "true"}
      comm.send(comm.json_encode(msg))
      exit(0)
  
file_path: optunity/optunity/standalone.py
imports: from __future__ import print_function
  import sys
  import keyword
  from .None import communication
  from .None import functions
  import optunity
label_desc: Use image node_id 4 for calling a global function with example usage: make_solver(solver_config) without return types