model:
sets:
points/1..24/:d;
endsets
max=@sum(points(i)|i#le#23:@log(1+(d(i+1)-d(i)+(d(i)^2+d(i+1)^2-2*d(i)*d(i+1)*@cos(3.1415926/6))^(1/2))/(2*d(i))));
@for(points(j)|j#le#23:d(j)1);
@for(points(i)|i#le#12:(d(i)+2)20;!已修改;
end
model:
sets:
points/1..24/:d;
endsets
max=@sum(points(i)|i#le#23:@log(1+(d(i+1)-d(i)+(d(i)^2+d(i+1)^2-2*d(i)*d(i+1)*@cos(3.1415926/6))^(1/2))/(2*d(i))));
@for(points(j)|j#le#23:d(j)1);
@for(points(i)|i#le#12:(d(i)+2)20;!已修改;
end