Comments (1)
when use sga_code_templet in my code, report index error in line 139:
var_trace[gen,:] = variable[bestIdx, :] # 记录当代最优的控制变量值.
Debug geatpy\source-code\templets\sga_code_templet.py, in line 179:
variable = ga.bs2int(SelCh, FieldD).astype('int64')
maybe it should be:
variable = ga.bs2int(Chrom, FieldD).astype('int64')
cause the index in line 139 is acquired from objv in line 130, and objv has changed in line 171 function ga.reins, so the dimensions of Objv and Selch are different.
thanks for apply.
Yes, you're right. Thanks a lot and we will rectify it soon.
There is good news for you that the next version of Geatpy will offer DE and many other algorithms.
from geatpy.
Related Issues (20)
- Geatpy Website has been moved to Github. HOT 4
- 有没有多目标,且又是混合染色体的案例 HOT 1
- 文档缺失 HOT 1
- 似乎无法基于先验解继续寻优 HOT 3
- 请问如何输出各个决策变量的值 并和两个函数值对应 HOT 1
- RuntimeError: error: ObjV is illegal.
- 停止条件设置 HOT 1
- 根据参考文献实现的线性变换与ea.scaling的计算结果不一样,请问具体ea.scaling的实现细节是什么样的呢,有文档吗 HOT 9
- 官网进不去 HOT 5
- 请问如何使用GPU模式运行优化呢 HOT 1
- 文档docs里面pdf缺失? HOT 1
- Please add new version with python3.11 on linux HOT 5
- 为什么最优解找出来了,但是图却画不出出来 HOT 1
- 离散变量怎么设置取值间隔,以提升取值的精度 HOT 2
- 单目标算法类中对于outFunc的类型检查错误还是没有更新? HOT 2
- NSGAII算法最终得出的pareto解集中存在部分解重复,而画出pareto前沿图一切正常,无重复 HOT 1
- 对geatpy项目的阶段性总结及建议 HOT 2
- 搞了两天了,安装不了 HOT 5
- tutorial细节问题 HOT 1
- Issues related to installing the geatpy library
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.