Difference between revisions of "Error Messages/9340"
Line 16: | Line 16: | ||
It is also possible that [[LpWrite]] was unable to write to the indicated file location. If you are sure you are passing an LP, then check the filename and ensure that the destination location is valid, and that you have permissions to write to that location. | It is also possible that [[LpWrite]] was unable to write to the indicated file location. If you are sure you are passing an LP, then check the filename and ensure that the destination location is valid, and that you have permissions to write to that location. | ||
− | The ''Not supported variable type'' message occurs when you try to save an NP containing integer types that are not supported by the file format, such as [[ | + | The ''Not supported variable type'' message occurs when you try to save an NP containing integer types that are not supported by the file format, such as [[Optimizer_Attributes#Bounds|grouped-integer]] variables. Our experiments indicate that this variation only displays for the "LPFML" format, and not for the "LP" or "MPS" formats, even though grouped-integer types are not supported in any of these formats. |
==Remedies== | ==Remedies== | ||
Line 25: | Line 25: | ||
* [[Create and save a model]] | * [[Create and save a model]] | ||
* [[Classes of variables and other objects]] | * [[Classes of variables and other objects]] | ||
− | * [[ | + | * [[Optimizer_Attributes#Domains|Optimization domains]] |
* [[LpWrite]] | * [[LpWrite]] | ||
* [[LpDefine]] | * [[LpDefine]] |
Latest revision as of 17:54, 7 June 2016
Solver error
SolverSDK: Problem could not be saved. SolverSDK: Problem could not be saved. Not supported variable type.
Cause
LpWrite cannot be used with «QP» objects defined using QpDefine or «Nlp» objects defined using NlpDefine. It can only be used on linear programs defined using LpDefine. A likely cause of this error is trying to call LpWrite on a QP or NLP.
It is also possible that LpWrite was unable to write to the indicated file location. If you are sure you are passing an LP, then check the filename and ensure that the destination location is valid, and that you have permissions to write to that location.
The Not supported variable type message occurs when you try to save an NP containing integer types that are not supported by the file format, such as grouped-integer variables. Our experiments indicate that this variation only displays for the "LPFML" format, and not for the "LP" or "MPS" formats, even though grouped-integer types are not supported in any of these formats.
Remedies
Correct the possible errors mentioned above and try saving the file again.
Enable comment auto-refresher