Open SchwarzschildX opened 3 years ago
Thanks for the report. I am going to ping @darioizzo for this as he wrote the algorithm originally.
to summarize:
cstrs_self_adaptive
, the original problem is encapsulated within a penalized_udp
problemget_nix()
methodpenalized_udp
has no get_nix()
method implemented
Describe the bug If a constrained integer problem is solved using cstrs_self_adaptive with pagmo::sga (or any other integer capable algorithm), the decision vectors consist of floating point numbers instead of integers.
Expected behavior Using cstrs_self_adaptive on constrained integer problems creates integer decision vectors.
Environment (please complete the following information):
Idea As far as I understand, cstrs_self_adaptive creates a penalized_udp of the original problem. This penalized_udp simply must relay the get_nix to the underlying problem.