esa / pagmo2

A C++ platform to perform parallel computations of optimisation tasks (global and local) via the asynchronous generalized island model.
https://esa.github.io/pagmo2/
GNU General Public License v3.0
823 stars 161 forks source link

[BUG] ambiguous problem integer/continous components layout documentation #496

Closed jschueller closed 2 months ago

jschueller commented 2 years ago

for integer problems, the documentation is unclear about how integer and continuous components must be distinguished: https://esa.github.io/pagmo2/docs/cpp/problem.html#_CPPv4NK5pagmo7problem7get_nixEv

I figured out from the pygmo doc that integers must be tucked at the end after the continuous components: https://esa.github.io/pygmo2/tutorials/coding_udp_minlp.html

I suggest to mention that in the get_nix method doc

bluescarni commented 2 years ago

Thanks for the report! I'll make sure this is fixed for the next version.