Optimization Action Set

Provides actions for solving optimization problems

loadMps Action

Loads the MPS file string to a data table.

optimization.loadMps <result=results> <status=rc> /
casOut
={
caslib="string",
compress=TRUE | FALSE,
indexVars={"variable-name-1" <, "variable-name-2", ...>},
label="string",
lifetime=64-bit-integer,
maxMemSize=64-bit-integer,
memoryFormat="DVR" | "INHERIT" | "STANDARD",
name="table-name",
promote=TRUE | FALSE,
replace=TRUE | FALSE,
replication=integer,
tableRedistUpPolicy="DEFER" | "NOREDIST" | "REBALANCE",
threadBlockSize=64-bit-integer,
timeStamp="string",
where={"string-1" <, "string-2", ...>}
},
maxLength=integer,
mpsFileString="string"
;

Summary: Output Tables

If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.

Parameters for Creating Output Tables

Parameter

Subparameter

Description

 casOut

—

specifies the output data table that will be in MPS format, which can be passed to the solvers.

Parameter Descriptions

casOut={casouttable}

specifies the output data table that will be in MPS format, which can be passed to the solvers.

For more information about specifying the casOut parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).

format="FIXED" | "FREE"

specifies whether the contents of the mpsFileString parameter are in fixed or free format.

DefaultFIXED
FIXED

reads the input as fixed format.

FREE

reads the input as free format.

maxLength=integer

specifies the maximum variable or constraint name length.

Default8

mpsFileString="string"

specifies the string that has the entire contents of a .mps file.

loadMps Action

Loads the MPS file string to a data table.

results, info = s:optimization_loadMps{
casOut
={
caslib="string",
compress=true | false,
indexVars={"variable-name-1" <, "variable-name-2", ...>},
label="string",
lifetime=64-bit-integer,
maxMemSize=64-bit-integer,
memoryFormat="DVR" | "INHERIT" | "STANDARD",
name="table-name",
promote=true | false,
replace=true | false,
replication=integer,
tableRedistUpPolicy="DEFER" | "NOREDIST" | "REBALANCE",
threadBlockSize=64-bit-integer,
timeStamp="string",
where={"string-1" <, "string-2", ...>}
},
maxLength=integer,
mpsFileString="string"
}

Summary: Output Tables

If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.

Parameters for Creating Output Tables

Parameter

Subparameter

Description

 casOut

—

specifies the output data table that will be in MPS format, which can be passed to the solvers.

Parameter Descriptions

casOut={casouttable}

specifies the output data table that will be in MPS format, which can be passed to the solvers.

For more information about specifying the casOut parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).

format="FIXED" | "FREE"

specifies whether the contents of the mpsFileString parameter are in fixed or free format.

DefaultFIXED
FIXED

reads the input as fixed format.

FREE

reads the input as free format.

maxLength=integer

specifies the maximum variable or constraint name length.

Default8

mpsFileString="string"

specifies the string that has the entire contents of a .mps file.

loadMps Action

Loads the MPS file string to a data table.

results=s.optimization.loadMps(
casOut
={
"caslib":"string",
"compress":True | False,
"indexVars":["variable-name-1" <, "variable-name-2", ...>],
"label":"string",
"lifetime":64-bit-integer,
"maxMemSize":64-bit-integer,
"memoryFormat":"DVR" | "INHERIT" | "STANDARD",
"name":"table-name",
"promote":True | False,
"replace":True | False,
"replication":integer,
"tableRedistUpPolicy":"DEFER" | "NOREDIST" | "REBALANCE",
"threadBlockSize":64-bit-integer,
"timeStamp":"string",
"where":["string-1" <, "string-2", ...>]
},
maxLength=integer,
mpsFileString="string"
)

Summary: Output Tables

If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.

Parameters for Creating Output Tables

Parameter

Subparameter

Description

 casOut

—

specifies the output data table that will be in MPS format, which can be passed to the solvers.

Parameter Descriptions

casOut={casouttable}

specifies the output data table that will be in MPS format, which can be passed to the solvers.

For more information about specifying the casOut parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).

format="FIXED" | "FREE"

specifies whether the contents of the mpsFileString parameter are in fixed or free format.

DefaultFIXED
FIXED

reads the input as fixed format.

FREE

reads the input as free format.

maxLength=integer

specifies the maximum variable or constraint name length.

Default8

mpsFileString="string"

specifies the string that has the entire contents of a .mps file.

loadMps Action

Loads the MPS file string to a data table.

results <– cas.optimization.loadMps(s,
casOut
=list(
caslib="string",
compress=TRUE | FALSE,
indexVars=list("variable-name-1" <, "variable-name-2", ...>),
label="string",
lifetime=64-bit-integer,
maxMemSize=64-bit-integer,
memoryFormat="DVR" | "INHERIT" | "STANDARD",
name="table-name",
promote=TRUE | FALSE,
replace=TRUE | FALSE,
replication=integer,
tableRedistUpPolicy="DEFER" | "NOREDIST" | "REBALANCE",
threadBlockSize=64-bit-integer,
timeStamp="string",
where=list("string-1" <, "string-2", ...>)
),
maxLength=integer,
mpsFileString="string"
)

Summary: Output Tables

If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.

Parameters for Creating Output Tables

Parameter

Subparameter

Description

 casOut

—

specifies the output data table that will be in MPS format, which can be passed to the solvers.

Parameter Descriptions

casOut=list(casouttable)

specifies the output data table that will be in MPS format, which can be passed to the solvers.

For more information about specifying the casOut parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).

format="FIXED" | "FREE"

specifies whether the contents of the mpsFileString parameter are in fixed or free format.

DefaultFIXED
FIXED

reads the input as fixed format.

FREE

reads the input as free format.

maxLength=integer

specifies the maximum variable or constraint name length.

Default8

mpsFileString="string"

specifies the string that has the entire contents of a .mps file.

Last updated: April 22, 2022