Closed RafaHPSUnicamp closed 1 year ago
Also print out solution.constraints
and/or solution.feasible
. I would guess that you would see the solutions you're getting are not feasible (violate one or more constraints). The first thing I would look at is increasing the NFE beyond 1000 as it's likely these algorithm's haven't yet converged.
This issue is stale and will be closed soon. If you feel this issue is still relevant, please comment to keep it active. Please also consider working on a fix and submitting a PR.
Hi, I discovered that all my restrictions does not working. Like the first restriction:
S_total = S_comercio + S_insumo
The best results from my code does not follow that restriction, for example. I already checked with a corresponding sum to S_comercio and S_insumo calculated from Platypus. So, what I need to do to all my restrictions work in my code??
Here is the code: