Skip to content

Commit 89d8471

Browse files
author
Christopher Henry
committed
Attempting to fix variable mismatch
1 parent a472beb commit 89d8471

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modelseedpy/fbapkg/problemreplicationpkg.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@ def build_package(self, parameters):
3535
self.variables[str(count)] = {}
3636
newobj = []
3737
new_var_hash = {}
38+
othermdl.solver = "gurobi"
3839
for var in othermdl.variables:
3940
if var.name not in shared_var_hash:
41+
print("Original variable: " + str(Variable))
4042
newvar = Variable.clone(var)
43+
print("Copy variable: " + str(newvar))
4144
newvar.name = var.name + "." + str(count)
4245
self.variables[str(count)][var.name] = newvar
4346
new_var_hash[var.name] = newvar

0 commit comments

Comments
 (0)