sasoptpy.Workspace.to_optmodel

Workspace.to_optmodel(self)[source]

Returns equivalent OPTMODEL code of the workspace

Returns
optmodelstring

Generated OPTMODEL code of the workspace object