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

关于决策变量为小数时的离散化情况 #343

Open
XgSuen opened this issue Oct 15, 2023 · 1 comment
Open

关于决策变量为小数时的离散化情况 #343

XgSuen opened this issue Oct 15, 2023 · 1 comment

Comments

@XgSuen
Copy link

XgSuen commented Oct 15, 2023

请问如何实现决策变量为小数时,让其离散化的情况:
比如:
决策变量x区间为[0.1,0.4],是否能够让其在步长为0.1的情况下来更新,即可选集合为[0.1,0.2,0.3,0.4]

@geatpy-dev
Copy link
Owner

可以用映射的方法离散化

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

2 participants