

==============================================


Model Symbols:
{'counterfactual': {'x0_cat_0': {'lower_bound': 0,
                                 'symbol': x0_cat_0_counterfactual,
                                 'upper_bound': 1},
                    'x0_cat_1': {'lower_bound': 0,
                                 'symbol': x0_cat_1_counterfactual,
                                 'upper_bound': 1},
                    'x0_cat_2': {'lower_bound': 0,
                                 'symbol': x0_cat_2_counterfactual,
                                 'upper_bound': 1},
                    'x0_cat_3': {'lower_bound': 0,
                                 'symbol': x0_cat_3_counterfactual,
                                 'upper_bound': 1},
                    'x1': {'lower_bound': 0,
                           'symbol': x1_counterfactual,
                           'upper_bound': 1},
                    'x2': {'lower_bound': 0.0,
                           'symbol': x2_counterfactual,
                           'upper_bound': 1.0},
                    'x3': {'lower_bound': 0.0,
                           'symbol': x3_counterfactual,
                           'upper_bound': 1.0},
                    'x4': {'lower_bound': 0,
                           'symbol': x4_counterfactual,
                           'upper_bound': 1}},
 'interventional': {'x0_cat_0': {'lower_bound': 0,
                                 'symbol': x0_cat_0_interventional,
                                 'upper_bound': 1},
                    'x0_cat_1': {'lower_bound': 0,
                                 'symbol': x0_cat_1_interventional,
                                 'upper_bound': 1},
                    'x0_cat_2': {'lower_bound': 0,
                                 'symbol': x0_cat_2_interventional,
                                 'upper_bound': 1},
                    'x0_cat_3': {'lower_bound': 0,
                                 'symbol': x0_cat_3_interventional,
                                 'upper_bound': 1},
                    'x1': {'lower_bound': 0,
                           'symbol': x1_interventional,
                           'upper_bound': 1},
                    'x2': {'lower_bound': 0.0,
                           'symbol': x2_interventional,
                           'upper_bound': 1.0},
                    'x3': {'lower_bound': 0.0,
                           'symbol': x3_interventional,
                           'upper_bound': 1.0},
                    'x4': {'lower_bound': 0,
                           'symbol': x4_interventional,
                           'upper_bound': 1}},
 'output': {'y': {'symbol': y}}}
Constructing initial formulas: model, counterfactual, distance, plausibility, diversity		done.
Solving (not searching) for closest counterfactual using various distance thresholds...
	Iteration #001: testing norm threshold 1.500000 in range [0.000000, 3.000000]...	solution exists & found.
	Iteration #002: testing norm threshold 0.141597 in range [0.000000, 0.283193]...	no solution exists.
	Iteration #003: testing norm threshold 0.212395 in range [0.141597, 0.283193]...	solution exists & found.
	Iteration #004: testing norm threshold 0.212395 in range [0.141597, 0.283193]...	solution exists & found.
	Iteration #005: testing norm threshold 0.212395 in range [0.141597, 0.283193]...	solution exists & found.
	Iteration #006: testing norm threshold 0.216249 in range [0.141597, 0.290901]...	solution exists & found.
	Iteration #007: testing norm threshold 0.219118 in range [0.141597, 0.296639]...	solution exists & found.
	Iteration #008: testing norm threshold 0.219774 in range [0.141597, 0.297951]...	solution exists & found.
	Iteration #009: testing norm threshold 0.143376 in range [0.141597, 0.145155]...	no solution exists.
	Iteration #010: testing norm threshold 0.144265 in range [0.143376, 0.145155]...	no solution exists.
	Iteration #011: testing norm threshold 0.144710 in range [0.144265, 0.145155]...	no solution exists.
	Iteration #012: testing norm threshold 0.144933 in range [0.144710, 0.145155]...	no solution exists.
	Iteration #013: testing norm threshold 0.145044 in range [0.144933, 0.145155]...	no solution exists.
	Iteration #014: testing norm threshold 0.145099 in range [0.145044, 0.145155]...	no solution exists.
	Iteration #015: testing norm threshold 0.145127 in range [0.145099, 0.145155]...	no solution exists.
	Iteration #016: testing norm threshold 0.145141 in range [0.145127, 0.145155]...	no solution exists.
	Iteration #017: testing norm threshold 0.145148 in range [0.145141, 0.145155]...	no solution exists.


Factual sample: 		 {x0_cat_0 : 0.0, x0_cat_1 : 1.0, x0_cat_2 : 0.0, x0_cat_3 : 0.0, x1 : 0.058823529411764705, x2 : 0.17321448222735777, x3 : 0.6666666666666666, x4 : 0.35714285714285715, y: False}
Nearest counterfactual sample:	 {x0_cat_0 : 0, x0_cat_1 : 1, x0_cat_2 : 0, x0_cat_3 : 0, x1 : 0, x2 : 0.19730861705480732, x3 : 0.6666666666666666, x4 : 1, y: True} (verified)
Minimum counterfactual distance: 0.145155
