Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add_ Inequality_ Constraint: Prevent user misuse! #517

Open
xianglunkai opened this issue Jun 26, 2023 · 0 comments
Open

add_ Inequality_ Constraint: Prevent user misuse! #517

xianglunkai opened this issue Jun 26, 2023 · 0 comments

Comments

@xianglunkai
Copy link

Void add_ Inequality_ Constraint (vfunc vf, void * f_data, double tool=0)

I think void * f_ data can easily cause errors for users, as they may use the same variable to store different data, which is incorrect to add constraints in a loop. Therefore, I suggest implementing a global data area internally to make f_ Data is only used to transfer data and isolate relationships with the outside world.

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

No branches or pull requests

1 participant