I have some code that uses
SB = model.addBinaries(rounds, slices, columns, rows, name_prefix = 'SB')
where rounds, slices, columns, rows are lists, and this generates variables with names such as SB(0, 0, 0, 0).
I then proceed to write the model to a file
model.writeModel(tmp_model_file_path)
but at this point I get the error
ERROR: Column 0 name "SB(0, 0, 0, 0)" contains a space character
which, I guess, should not happen, since it has been generated by HiGHS itself...
I have some code that uses
where
rounds,slices,columns,rowsare lists, and this generates variables with names such asSB(0, 0, 0, 0).I then proceed to write the model to a file
but at this point I get the error
which, I guess, should not happen, since it has been generated by HiGHS itself...