12 printf(
"[%.8f, ", v[0]);
13 for(i=1;i<length-1;i++){
14 printf(
"%.8f, ", v[i]);
16 printf(
"%.8f", v[length-1]);
26 for (i = 0; i < rows; i++) {
27 for (j = 0; j < cols; j++) {
28 printf(
"%.4f, ", mtx[k]);
38 printf(
"\n-- Problem --\n");
55 printf(
"\n-- Options --\n");
58 printf(
"eps_ds: %f\n",opt->
eps_ds);
59 printf(
"eps_pf: %f\n",opt->
eps_pf);
67 printf(
"\n-- Info --\n");
68 printf(
"lb_is_inf: %d\n",info->
lb_is_inf);
69 printf(
"ub_is_inf: %d\n",info->
ub_is_inf);
72 printf(
"eigH_max: %f\n",info->
eigH_max);
73 printf(
"eigH_min: %f\n",info->
eigH_min);
74 printf(
"Ld: %f\n",info->
Ld);
82 printf(
"\n-- RESULT --\n");
86 printf(
"fopt: %f\n", s->
fopt);
94 printf(
"time: %f\n", s->
out->
time);
96 printf(
"exitflag: %d\n", s->
exitflag);
105 printf(
"\n-- Problem --\n");
112 printf(
"lb_is_inf: %d\n", s->
lb_is_inf );
113 printf(
"ub_is_inf: %d\n", s->
ub_is_inf );
114 printf(
"eigH_min: %f\n", s->
eigH_min );
115 printf(
"eigH_max: %f\n", s->
eigH_max );
122 printf(
"\n-- RESULT --\n");
124 printf(
"fopt: %f\n", s->
fopt);
125 printf(
"niter: %d\n", niter);
132 printf(
"\n-- RESULT --\n");
134 printf(
"fopt: %f\n", s->
fopt);
135 printf(
"niter: %d\n", niter);
void print_Result(struct Result *s)
uint32_t iterations_inner_tot
void print_Options(struct Options *opt)
void print_Problem(struct Problem *s)
void print_Info(struct Info *info)
uint32_t flag_last_satisfied
void print_result_GDM(struct Struct_GDM *s, int niter)
void print_result_FGM(struct Struct_FGM *s, int niter)
void print_vector(double *v, int length)
void print_problem_FGM(struct Struct_FGM *s)
uint32_t niter_feasible_pf
uint32_t num_exceeded_max_niter_inner
void print_matrix(const real_t *mtx, const uint32_t rows, const uint32_t cols)
uint32_t niter_feasible_ds