MpsParser.ProcessSource Method (String, Boolean, ILinearModel)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Parses MPS input and adds it to the specified linear model.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Function ProcessSource ( _
path As String, _
fFixedFormat As Boolean, _
mod As ILinearModel _
) As Boolean
public bool ProcessSource(
string path,
bool fFixedFormat,
ILinearModel mod
)
public:
bool ProcessSource(
String^ path,
bool fFixedFormat,
ILinearModel^ mod
)
member ProcessSource :
path:string *
fFixedFormat:bool *
mod:ILinearModel -> bool
public function ProcessSource(
path : String,
fFixedFormat : boolean,
mod : ILinearModel
) : boolean
Parameters
- path
Type: System.String
The text source.
- fFixedFormat
Type: System.Boolean
A value that indicates whether the MPS is fixed format or free format.
- mod
Type: Microsoft.SolverFoundation.Services.ILinearModel
A linear model.
Return Value
Type: System.Boolean
true if the MPS input is parsed into a linear model; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.