Comments (2)
如题:
if shift_h <= 30 and shift_v <= 30:
cv_value = -100
else:
cv_value = 100
cv.append(cv_value)
pop.Cv = np.array([cv]).T
我已经将对应解得cv置为正数了,结果中还是出现不满足约束的解,而且保存的cv文件中全为0.
请问这是怎么回事?
种群类的CV属性是大写的CV噢。
如果遇到疑惑的代码问题可以把完整测试代码发至邮箱[email protected]这边客服帮忙测试和解答。
from geatpy.
如题:
if shift_h <= 30 and shift_v <= 30:
cv_value = -100
else:
cv_value = 100
cv.append(cv_value)
pop.Cv = np.array([cv]).T
我已经将对应解得cv置为正数了,结果中还是出现不满足约束的解,而且保存的cv文件中全为0.
请问这是怎么回事?种群类的CV属性是大写的CV噢。
如果遇到疑惑的代码问题可以把完整测试代码发至邮箱[email protected]这边客服帮忙测试和解答。
非常感谢!!!
from geatpy.
Related Issues (20)
- “基于多种群个体选择的高级选择函数”存在bug HOT 4
- Mac M1 Run geatpy error : awGA.cpython-310-darwin.so incompatible arm64 HOT 2
- ObjV不合法的问题
- ObjV不合法的问题 HOT 2
- 非常小规模0-1规划问题无可行解 HOT 4
- 混合编码:error in crtpp: Invalid syntax of FieldDR. (FieldDR的格式错误。) HOT 1
- 编译支持3.11 版本
- HV, spacing 的计算原理
- 请问moea_NSGA2_archive_templet(带全局存档的NSGA-II算法)的可引用文献是哪篇呢?谢谢! HOT 1
- demo3不是01背包问题而是分组背包问题吧
- installation error HOT 1
- bs2ri是如何计算的,源码中也没有找到
- 关于决策变量为小数时的离散化情况 HOT 1
- 开发者你好,我想询问一下关于决策变量关系的问题 HOT 1
- 请问一下Geatpy什么时候支持Python 3.11呀? HOT 9
- 变量强制修改问题 HOT 1
- 【重大bug】call_back中,Population.save()与直接写成数据,完全对不上!!! HOT 11
- SEGA回调函数self.outFunc有问题,之前NSGA中并没有存在该问题 HOT 3
- 每代的结果输出
- python 12去除了 gil geatpy什么时候跟进呢
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geatpy.