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:
int
parameters in the optimization experiments ( I know too much but did not return any problem while building the model, I used the same number before in a different problem, and it worked totally fine)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):
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