docstr: Function to test initialization of OptimizationTest. 
docstr_tok: ["Function","to","test","initialization","of","OptimizationTest","."]
code: def test_init(self):
      """Function to test initialization of OptimizationTest."""
      sess, dual_formulation_object = self.prepare_dual_object()
      dual_formulation_object.set_differentiable_objective()
      sess.run(tf.global_variables_initializer())
      optimization_params = {
          "init_learning_rate": 0.1,
          "learning_rate_decay": 0.9,
          "eig_num_iter": 10,
          "eig_learning_rate": 0.01,
          "init_smooth": 0.5,
          "smooth_decay": 0.9,
          "inner_num_steps": 10,
          "optimizer": "adam",
          "momentum_parameter": 0.9,
          "eig_type": "TF",
      }
      optimization_object = optimization.Optimization(
          dual_formulation_object, sess, optimization_params
      )
      self.assertIsNotNone(optimization_object)
  
file_path: cleverhans/cleverhans_v3.1.0/cleverhans/experimental/certification/tests/optimization_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import tensorflow
  from cleverhans.experimental.certification import dual_formulation
  from cleverhans.experimental.certification import nn
  from cleverhans.experimental.certification import optimization
label_desc: Use image node_id 2 for calling the OptimizationTest obj's underlying member method code with example usage: obj.test_init() without return types