Go to the documentation of this file.
63 int main( int argc, char **arg)
76 unsigned int maxIterations;
82 fprintf(stderr, "Reading parameters from : %s\n", GetFileFullName(&fparam));
86 Error( "cuikminimize do not work (yet) for problems with dynamics");
90 Error( "Can not open the tensegrity file");
98 maxIterations=atoi(arg[2]);
100 Error( "Wrong maximum number of iterations");
104 fprintf(stderr, "Number of iterations : %u\n",maxIterations);
110 ( void *)(&world),&atlas);
129 fprintf(stderr, " Wrong number of parameters.\n");
130 fprintf(stderr, " Use:\n");
131 fprintf(stderr, " cuikminimize <problem filename>.tens [max iterations]\n");
132 fprintf(stderr, " where <problem filename>.tens contains the tensegrity description\n");
133 fprintf(stderr, " [max iterations] is the optional maximum number of iterations\n");
134 fprintf(stderr, " The default is 1000\n");
135 fprintf(stderr, " The extension for the problem file (ex. tens) is not required.\n");
137 return(EXIT_SUCCESS);
|
Follow us!