sasoptpy.interface.CASMediator.upload_model¶
-
CASMediator.
upload_model
(self, name=None, replace=True, constant=False, verbose=False)[source]¶ Converts internal model to MPS table and upload to CAS session
- Parameters
- namestring, optional
Desired name of the MPS table on the server
- replaceboolean, optional
Option to replace the existing MPS table
- Returns
- frame
swat.cas.table.CASTable
Reference to the uploaded CAS Table
- frame
Notes
This method returns None if the model session is not valid.
Name of the table is randomly assigned if name argument is None or not given.
This method should not be used if
Model.solve()
is going to be used.Model.solve()
calls this method internally.