guofei9987 / guofei9987/scikit-opt

Question About "constraint_ueq"

Open
#232 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
6.7k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

I hope that the solution obtained by solving the inequality constraint satisfies a decreasing trend over time. I wrote it that way👇, but it didn't work during the solution process. Could you please tell me why?

constraint_ueq = [
lambda x: x[i + 1] - x[i] for i in range(n_dim - 1)
]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.