Majed Hadid
Majed Hadid

Reputation: 61

Optimization Experiment internal error (no model BUILD problems) - anylogic

I built my model and got Zero problems.
The Simulation Experiment is running without any errors (I'm using test/random values for the parameters)

However, when I run the Optimization Experiment, I'm getting the following 500 errors:

enter image description here

enter image description here

I have used root to define my constraints as below (maybe this is causing errors? but did not return any problem while building the model):

enter image description here

Upvotes: 0

Views: 167

Answers (1)

Majed Hadid
Majed Hadid

Reputation: 61

The reason behind this 500 Error (internal error) is the type of the parameter and the step size defined in the optimization experiment panel (Parameters).
What I have found is as follows:
if you use the int type for a parameter, its step size must be 1
if you use the discrete type for a parameter, its step size can be any integer (for example 4)

Even one parameter is not allowed to break this role, otherwise AnyLogic will return the same error message : 500 Error

Upvotes: 1

Related Questions