Skip to content

Commit

Permalink
update warmstart
Browse files Browse the repository at this point in the history
  • Loading branch information
ZedongPeng committed Nov 2, 2023
1 parent 54f31e0 commit 8ad818c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyomo/contrib/mindtpy/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -1015,11 +1015,11 @@ def eval_fim2(m, a, b):

### update greybox
grey_box_name = "ele_"+str(a)+"_"+str(b)
mod.my_block.egb.inputs[grey_box_name].value = dynamic_initial_element
#mod.my_block.egb.inputs[grey_box_name].value = dynamic_initial_element

# initialize determinant
_, det = np.linalg.slogdet(new_fim)
mod.my_block.egb.outputs["log_det"] = det
#_, det = np.linalg.slogdet(new_fim)
#mod.my_block.egb.outputs["log_det"] = det

# manual and dynamic install initial
def total_dynamic_exp(m):
Expand Down

0 comments on commit 8ad818c

Please sign in to comment.