Error Messages/40585

Error Message Examples

The value of the Setting parameter to LP_Definition is not a 1-D array (after array abstraction).
Since the optional 'Parameter' parameter is not specified, the value to the setting parameter 
needs to be a 1-D array where the index values contain the optimizer parameter name.  

Cause

The Setting parameter passed to the function (LpDefine or QpDefine or NlpDefine) was not a 1-D array indexed by the Parameter it is setting and no Parameter parameter is passed to the function either.

The Setting and Parameter parameters to the above functions can be used to set the search settings. To get a list of Parameters for the engine that can be set, you can use the SolverInfo function. These two parameters can be used in the following ways:

Specifying both the parameters:
LpDefine(..... , Parameter: [ 'MutationRate', 'SolutionAccuracy'] , Setting: [0.15, 1m]);

Specifying only the Setting parameter:

Index IndexOfParameters
Definition: ['MutationRate', 'SolutionAccuracy'];

Object SettingToLP
Definition: Table(IndexOfParameters)( 0.15, 1m );

Defining the optimization problem: LpDefine(..... , Setting: SettingToLp);


Lpdefine#Specifying_Search_Control_Parameters Nlpdefine#Specifying_Search_Control_Settings

  1. The file passed could be a read only file.
  2. You do not have write permissions to the directory/folder passed.

Remedies

You can solve this by passing in a file you have write access to or by passing a directory you have write permission to.



You are not allowed to post comments.

Comments
<comments />