Skip to content

Commit

Permalink
OmltVar wrapper class
Browse files Browse the repository at this point in the history
  • Loading branch information
jezsadler committed Mar 19, 2024
1 parent 28b3fd9 commit 45ac095
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/omlt/neuralnet/layers/partition_based.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,7 @@ def output_node_block(b, *output_index):
expr += prev_layer_block.z[input_index] * w

lb, ub = compute_bounds_on_expr(expr)
print("inside function")
print(expr)
print(w)
print(prev_layer_block.z[input_index])
print(prev_layer_block.z[input_index].lb)
print(prev_layer_block.z[input_index].ub)

if lb is None:
raise ValueError("Expression is unbounded below.")
if ub is None:
Expand Down

0 comments on commit 45ac095

Please sign in to comment.