Home
last modified time | relevance | path

Searched refs:nzcnt (Results 1 – 25 of 113) sorted by relevance

12345

/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/src/CutGen/Decomp/
H A Ddecomp.c188 nzcnt++; in create_initial_lp()
222 lp_data->nz = nzcnt; in create_initial_lp()
268 cols.nzcnt = 0; in receive_cols()
436 for (i = cols->nzcnt; i < cols->nzcnt+nzcnt; i++){ in dcmp_process_message()
443 if (i < cols->nzcnt+nzcnt) in dcmp_process_message()
447 nzcnt++; in dcmp_process_message()
451 cols->nzcnt += nzcnt; in dcmp_process_message()
633 cols_to_add.nzcnt = nzcnt; in generate_new_cols()
681 ind[nzcnt] = i; in get_cols_from_pool()
694 val[nzcnt++] = 0; in get_cols_from_pool()
[all …]
/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/Applications/VRP/src/LP/
H A Dvrp_lp.c437 matind[nzcnt++] = i;
453 matind[nzcnt++] = i;
480 matind[nzcnt] = i;
557 if (fabs(matval[nzcnt]) >.5) matind[nzcnt++] = i;
582 matind[nzcnt] = i;
602 row_list[j]->nzcnt = nzcnt;
771 nzcnt = 2;
781 colval[nzcnt] = 1;
789 colval[nzcnt] = 1;
854 if (fabs(colval[nzcnt]) >.5) colind[nzcnt++] = i;
[all …]
/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/src/CutGen/
H A Dcg_func.c156 cut_data *create_explicit_cut(int nzcnt, int *indices, double *values, in create_explicit_cut() argument
166 cut->size = (int)(DSIZE + nzcnt * (ISIZE + DSIZE)); in create_explicit_cut()
169 ((int *) cut->coef)[0] = nzcnt; in create_explicit_cut()
172 memcpy(cut->coef + DSIZE, (char *)values, nzcnt * DSIZE); in create_explicit_cut()
173 memcpy(cut->coef + (nzcnt + 1) * DSIZE, (char *)indices, nzcnt*ISIZE); in create_explicit_cut()
183 int cg_add_explicit_cut(int nzcnt, int *indices, double *values, in cg_add_explicit_cut() argument
194 cut->size = (int)(DSIZE + nzcnt * (ISIZE + DSIZE)); in cg_add_explicit_cut()
197 ((int *) cut->coef)[0] = nzcnt; in cg_add_explicit_cut()
200 memcpy(cut->coef + DSIZE, (char *)values, nzcnt * DSIZE); in cg_add_explicit_cut()
201 memcpy(cut->coef + (nzcnt + 1) * DSIZE, (char *)indices, nzcnt*ISIZE); in cg_add_explicit_cut()
/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/Applications/MPP/src/LP/
H A Dmpp_lp.c214 int i, j, nzcnt = 0; in user_unpack_cuts() local
237 nzcnt = 0; in user_unpack_cuts()
250 matind[nzcnt] = i; in user_unpack_cuts()
251 nzcnt++; in user_unpack_cuts()
257 matind[nzcnt] = i; in user_unpack_cuts()
258 nzcnt++; in user_unpack_cuts()
263 matind[nzcnt] = i; in user_unpack_cuts()
264 nzcnt++; in user_unpack_cuts()
273 (int *) realloc((char *)matind, nzcnt*ISIZE); in user_unpack_cuts()
275 row_list[j]->nzcnt = nzcnt; in user_unpack_cuts()
[all …]
/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/Applications/CNRP/src/LP/
H A Dcnrp_lp.c1045 nzcnt = 3;
1048 nzcnt = 2;
1053 nzcnt = 2;
1055 nzcnt = 0;
1063 nzcnt = 2;
1070 nzcnt = 1;
1072 nzcnt = 0;
1163 nzcnt = 0;
1166 nzcnt = 2;
1274 row_list[j]->nzcnt = nzcnt;
[all …]
/dports/math/libpgmath/flang-d07daf3/test/ncar_kernels/WACCM_lu_slv/src/
H A Dmo_imp_sol.F9035 USE chem_mods, ONLY: nzcnt
62 REAL(KIND=r8) :: sys_jac(max(1,nzcnt))
63 REAL(KIND=r4) :: sys_jac_r4(max(1,nzcnt))
64 REAL(KIND=r8) :: sys_jac_vec(veclen,max(1,nzcnt))
65 REAL(KIND=r4) :: sys_jac_vecr4(veclen,max(1,nzcnt))
124 … CALL lu_slv_vec(veclen,max(1,clscnt4),max(1,nzcnt),sys_jac_vec, forcing_vec)
133 … CALL lu_slv_vecr4(veclen,max(1,clscnt4),max(1,nzcnt),sys_jac_vecr4, forcing_vecr4)
/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/Applications/SPP+CUTS/src/LP/
H A Dspp_lp_functions.c201 int i, nzcnt, coef_num, oh_num, hub_num; in cut_to_row() local
209 coef_num = nzcnt = cut->size/ISIZE; in cut_to_row()
221 coef_num = nzcnt = in cut_to_row()
224 coef_num = nzcnt = cut->size / (ISIZE + DSIZE); in cut_to_row()
235 coef_num = nzcnt = oh_num + hub_num; in cut_to_row()
267 for (i = j = nzcnt = 0; i < n && j < coef_num; ) { in cut_to_row()
269 matind[nzcnt] = i; /* matind is filled wrt position in vars */ in cut_to_row()
270 matval[nzcnt++] = 1; in cut_to_row()
292 for (i = j = nzcnt = 0; i < n && j < coef_num; ) { in cut_to_row()
295 matval[nzcnt++] = coefs[j]; in cut_to_row()
[all …]
H A Dspp_lp.c61 receive_int_array(&m->nzcnt, 1); in user_receive_lp_data()
66 m->matind = (row_ind_type *) malloc(m->nzcnt * sizeof(row_ind_type)); in user_receive_lp_data()
70 receive_char_array((char *)m->matind, m->nzcnt * sizeof(row_ind_type)); in user_receive_lp_data()
94 mip->nz = cm->nzcnt; in user_create_subproblem()
113 for (i = cm->nzcnt - 1; i >= 0; i--) { in user_create_subproblem()
249 cut_to_row(spp, varnum, vars, lifted_cuts[i][j], &row->nzcnt, in user_unpack_cuts()
265 cut_to_row(spp, varnum, vars, cuts[i], &row->nzcnt, &row->matind, in user_unpack_cuts()
/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/src/LP/
H A Dlp_rowfunc.c380 int i, nzcnt; in add_waiting_rows() local
383 for (nzcnt=0, i=add_row_num-1; i>=0; i--) in add_waiting_rows()
384 nzcnt += wrows[i]->nzcnt; in add_waiting_rows()
385 size_lp_arrays(lp_data, TRUE, FALSE, add_row_num, 0, nzcnt); in add_waiting_rows()
388 REMALLOC(lp_data->tmp.dv, double, lp_data->tmp.dv_size, nzcnt, in add_waiting_rows()
392 REMALLOC(lp_data->tmp.iv, int, lp_data->tmp.iv_size, nzcnt, 5*(int)BB_BUNCH); in add_waiting_rows()
399 memcpy(rmatind + rmatbeg[i], wrow->matind, wrow->nzcnt * ISIZE); in add_waiting_rows()
400 memcpy(rmatval + rmatbeg[i], wrow->matval, wrow->nzcnt * DSIZE); in add_waiting_rows()
401 rmatbeg[i+1] = rmatbeg[i] + wrow->nzcnt; in add_waiting_rows()
403 add_rows(lp_data, add_row_num, nzcnt, rhs, sense, rmatbeg, rmatind,rmatval); in add_waiting_rows()
[all …]
/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/Applications/VRP/src/CutGen/Decomp/
H A Ddecomp_user.c47 cols->nzcnt = 0; in user_generate_new_cols()
180 int *coef = cols->matind+cols->nzcnt; in add_tour_to_col_set()
201 if (cols->nzcnt + size > cols->max_nzcnt){ in add_tour_to_col_set()
209 coef = cols->matind + cols->nzcnt; in add_tour_to_col_set()
239 cols->nzcnt += size; in add_tour_to_col_set()
246 void user_unpack_col(cg_prob *p, col_data *col, int *nzcnt, int *matind) in user_unpack_col() argument
255 int nzcnt = col->size/(sizeof(int)); in user_display_col() local
257 int i, *origind = (int *) calloc ((int)nzcnt, sizeof(int)); in user_display_col()
258 double *x = (double *) calloc ((int)nzcnt, sizeof(double)); in user_display_col()
260 for (i=0; i<nzcnt; i++){ in user_display_col()
[all …]
/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/Applications/SPP/src/LP/
H A Dspp_lp.c60 receive_int_array(&m->nzcnt, 1); in user_receive_lp_data()
65 m->matind = (row_ind_type *) malloc(m->nzcnt * sizeof(row_ind_type)); in user_receive_lp_data()
69 receive_char_array((char *)m->matind, m->nzcnt * sizeof(row_ind_type)); in user_receive_lp_data()
90 mip->nz = cm->nzcnt; in user_create_subproblem()
109 for (i = cm->nzcnt - 1; i >= 0; i--) { in user_create_subproblem()
/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/Applications/MATCH/src/LP/
H A Duser_lp.c200 int i, j, nzcnt; in user_unpack_cuts()
223 for (nzcnt = 0, i = 0; i < varnum; i++){ in user_unpack_cuts()
227 row_list[j]->matval[nzcnt] = 1.0; in user_unpack_cuts()
228 row_list[j]->matind[nzcnt++] = vars[i]->userind; in user_unpack_cuts()
231 row_list[j]->nzcnt = 3; in user_unpack_cuts()
/dports/devel/tinygo/tinygo-0.14.1/lib/wasi-libc/libc-top-half/musl/src/aio/
H A Daio_suspend.c12 int nzcnt = 0; in aio_suspend() local
24 nzcnt++; in aio_suspend()
42 switch (nzcnt) { in aio_suspend()
/dports/lang/zig-devel/zig-0.9.0/lib/libc/musl/src/aio/
H A Daio_suspend.c13 int nzcnt = 0; in aio_suspend() local
25 nzcnt++; in aio_suspend()
43 switch (nzcnt) { in aio_suspend()
/dports/devel/wasi-libc/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96/libc-top-half/musl/src/aio/
H A Daio_suspend.c13 int nzcnt = 0; in aio_suspend() local
25 nzcnt++; in aio_suspend()
43 switch (nzcnt) { in aio_suspend()
/dports/lang/zig-devel/zig-0.9.0/lib/libc/wasi/libc-top-half/musl/src/aio/
H A Daio_suspend.c13 int nzcnt = 0; in aio_suspend() local
25 nzcnt++; in aio_suspend()
43 switch (nzcnt) { in aio_suspend()
/dports/lang/zig/zig-0.9.0/lib/libc/wasi/libc-top-half/musl/src/aio/
H A Daio_suspend.c13 int nzcnt = 0; in aio_suspend() local
25 nzcnt++; in aio_suspend()
43 switch (nzcnt) { in aio_suspend()
/dports/lang/zig/zig-0.9.0/lib/libc/musl/src/aio/
H A Daio_suspend.c13 int nzcnt = 0; in aio_suspend() local
25 nzcnt++; in aio_suspend()
43 switch (nzcnt) { in aio_suspend()
/dports/devel/emscripten/emscripten-2.0.3/system/lib/libc/musl/src/aio/
H A Daio_suspend.c15 int nzcnt = 0; in aio_suspend() local
27 nzcnt++; in aio_suspend()
45 switch (nzcnt) { in aio_suspend()
/dports/math/disco/DisCO-releases-1.0.0-33-g68720be/examples/VRP/
H A DVrpCutGenerator.cpp1247 nzcnt = nzcnt_side; in addVrpCut()
1255 nzcnt = nzcnt_across; in addVrpCut()
1275 matind[nzcnt++] = i; in addVrpCut()
1290 matind[nzcnt++] = i; in addVrpCut()
1628 matind[nzcnt] = i; in addTspCuts()
1629 matval[nzcnt++] = val; in addTspCuts()
1653 int nzlist, nzcnt; in addTspCuts()
1679 nzcnt = 0; in addTspCuts()
1684 if (nzcnt != 0) { in addTspCuts()
1685 matind = new int[nzcnt]; in addTspCuts()
[all …]
/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/Applications/SPP/src/Master/
H A Dspp_master_functions.c153 &matrix->nzcnt) != 3) IO_ERROR; in spp_read_input()
157 spp->input_type, matrix->rownum, colnum, matrix->nzcnt); in spp_read_input()
163 malloc(matrix->nzcnt * sizeof(row_ind_type)); in spp_read_input()
173 matrix->rownum, matrix->colnum, matrix->nzcnt); in spp_read_input()
186 matrix->rownum, matrix->colnum, matrix->nzcnt); in spp_read_input()
313 matrix->nzcnt = nz_count; in read_our_del_dupl()
434 matrix->nzcnt = nz_count; in read_our0_del_dupl()
463 malloc( matrix->nzcnt * sizeof(row_ind_type)); in spp_fix_lex()
523 colnum, matrix->nzcnt); in spp_matrix_to_our()
/dports/math/minizinc/libminizinc-2.5.5/include/minizinc/solvers/MIP/
H A DMIP_cplex_wrap.hh157 int (*dll_CPXaddlazyconstraints)(CPXCENVptr env, CPXLPptr lp, int rcnt, int nzcnt,
161 int (*dll_CPXaddmipstarts)(CPXCENVptr env, CPXLPptr lp, int mcnt, int nzcnt, int const* beg,
165 int (*dll_CPXaddrows)(CPXCENVptr env, CPXLPptr lp, int ccnt, int rcnt, int nzcnt,
169 int (*dll_CPXaddusercuts)(CPXCENVptr env, CPXLPptr lp, int rcnt, int nzcnt, double const* rhs,
177 int nzcnt, int const* beg, int const* varindices, double const* values,
189 int (*dll_CPXcutcallbackadd)(CPXCENVptr env, void* cbdata, int wherefrom, int nzcnt, double rhs,
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/blossom/concorde97/TSP/
H A Dtsp_lp.c978 int nzcnt; local
1080 int nzcnt; local
1137 nzcnt = 0;
2038 int nzcnt; local
2046 nzcnt = 0;
2816 int nzcnt; local
3106 int nzcnt; in addrow_to_list()
3129 if (nzcnt + cr->nzcnt > cr->indexspace) {
3134 if (nzcnt + cr->nzcnt > cr->entryspace) {
3151 cr->nzcnt += nzcnt;
[all …]
/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/Applications/SPP+CUTS/src/Master/
H A Dspp_master_functions.c227 &matrix->nzcnt) != 3) IO_ERROR; in spp_read_input()
230 spp->input_type, matrix->rownum, colnum, matrix->nzcnt); in spp_read_input()
236 malloc(matrix->nzcnt * sizeof(row_ind_type)); in spp_read_input()
246 matrix->rownum, matrix->colnum, matrix->nzcnt); in spp_read_input()
259 matrix->rownum, matrix->colnum, matrix->nzcnt); in spp_read_input()
386 matrix->nzcnt = nz_count; in read_our_del_dupl()
507 matrix->nzcnt = nz_count; in read_our0_del_dupl()
536 malloc( matrix->nzcnt * sizeof(row_ind_type)); in spp_fix_lex()
596 colnum, matrix->nzcnt); in spp_matrix_to_our()
/dports/math/symphony/SYMPHONY-releases-5.6.17/SYMPHONY/Applications/SPP/include/
H A Dspp_types.h33 int nzcnt; /* number of nonzeros in the matrix */ member
48 int nzcnt; /* nonzero_count */ member

12345