hi everyone I have write a program in a optimizing software(Xpress) for a problem with known datas now for generalize this programm I need a program in java for randomize the Datas these are datas in my basic problem as you can see all the arrays have 6 characters that is number of periods (T=6) I need write a program that generate a 100% random T and with that random value of T generate the arrays with T characters (size of arrays =T ) and print like below arrays for T=6( with :: and , and [])
T=6
p2::[0,0,0,0,0,0]
h1::[100,2,2,2,100,0]
h2::[1,1,100,1,1,0]
C1::[10,10,10,10,10,10]
C2::[10,10,10,10,10,10]
K1::[100,100,100,100,100,100]
K2::[1,1,1,1,1,1]
d::[5,9,1,8,3,1]
I will be so thankful if someone help me
Aucun commentaire:
Enregistrer un commentaire