Skip to content

.3106580201476295:5c1faa2213287938bb71d64fe0674c8d_69f5bd25de92085ec783302d.69f5c4a5de92085ec78331f4.69f5c4a5fbc5f84623048737:Trae CN.T(2026/5/2 17:32:21)#2

Open
stonelv wants to merge 1 commit into
restrict-by-dogfooding-r1from
restrict-by-dogfooding-r2
Open

.3106580201476295:5c1faa2213287938bb71d64fe0674c8d_69f5bd25de92085ec783302d.69f5c4a5de92085ec78331f4.69f5c4a5fbc5f84623048737:Trae CN.T(2026/5/2 17:32:21)#2
stonelv wants to merge 1 commit into
restrict-by-dogfooding-r1from
restrict-by-dogfooding-r2

Conversation

@stonelv
Copy link
Copy Markdown
Owner

@stonelv stonelv commented May 2, 2026

sort_solutions_nsga2的单目标分支直接跳过约束检测,传了constraint_func也不生效;多目标这边_get_constraint_violations每次调用都重新算,一轮进化里被不同方法反复调,但用的是self.population,调用时机不对的话拿到的违反量可能对不上当前要排序的那批解。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant