Difference between revisions of "Error Messages/9340"

 
(One intermediate revision by the same user not shown)
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 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.
+
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==
 +
Correct the possible errors mentioned above and try saving the file again.
  
 
==See Also==
 
==See Also==
 +
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
 +
* [[Create and save a model]]
 +
* [[Classes of variables and other objects]]
 +
* [[Optimizer_Attributes#Domains|Optimization domains]]
 
* [[LpWrite]]
 
* [[LpWrite]]
 
* [[LpDefine]]
 
* [[LpDefine]]
Line 28: Line 35:
 
* [[Using a Solver Add-on Engine]]
 
* [[Using a Solver Add-on Engine]]
 
* [[Optimizer Quick Start]]
 
* [[Optimizer Quick Start]]
 +
</div>

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.

See Also

Comments


You are not allowed to post comments.