Posted on 2005-09-05 16:06
woow 阅读(298)
评论(0) 编辑 收藏 引用
sql server 中有没有像Oracle中decode功能的函数
jsp支持汉字
<%request.setCharacterEncoding("gb2312");%>
在servlet中重新解码在编码就行了
在用GAOT工具箱做优化时,初始种群已经求出,但在用[x endPop bpop trace] = ga(bounds,'delthmin')求优化解时,出现以下错误:
Error using ==> gads\private\validate>validNumberofVariables
Number of variables (NVARS) must be a positive number.
Error in ==> gads\private\validate at 43
validNumberofVariables(o.GenomeLength);
Error in ==> ga at 153
[GenomeLength,FitnessFcn,options] = validate(GenomeLength,FitnessFcn,options);
Error in ==> m111 at 98
[x endPop bpop trace] = ga(bounds,'delthmin')