Home
last modified time | relevance | path

Searched refs:num_bool (Results 1 – 4 of 4) sorted by relevance

/dports/sysutils/fluent-bit/fluent-bit-1.8.11/tests/runtime/
H A Dgen_data.py15 def write_entry(handle, key, string, num_bool, eof=False): argument
19 handle.write(("\t\"\\\"%s\\\": %s" % (key, num_bool)))
/dports/math/py-ecos/ecos-python-2.0.8/src/
H A Decosmodule.c212 idxint num_bool = 0; in csolve() local
326 num_bool = (idxint)PyList_Size((PyObject *) bool_idx); in csolve()
327 for (i = 0; i<num_bool; ++i){ in csolve()
613 if (num_bool > 0 || num_int > 0){ in csolve()
615 bool_vars_idx = malloc( num_bool*sizeof(idxint) ); in csolve()
616 …for (i=0; i<num_bool; ++i) bool_vars_idx[i] = PyLong_AsLong(PyList_GetItem((PyObject *) bool_idx,i… in csolve()
627 Apr, Ajc, Air, cpr, hpr, bpr, num_bool, bool_vars_idx, num_int, int_vars_idx, &opts_ecos_bb); in csolve()
742 if (num_bool > 0 || num_int > 0){ in csolve()
867 if (num_bool > 0 || num_int > 0){ in csolve()
/dports/math/py-cvxpy/cvxpy-1.1.17/cvxpy/reductions/solvers/conic_solvers/
H A Dmosek_conif.py377 num_bool = len(data[s.BOOL_IDX])
379 vartypes = [mosek.variabletype.type_int] * (num_bool + num_int)
381 if num_bool > 0:
382 task.putvarboundlist(data[s.BOOL_IDX], [mosek.boundkey.ra] * num_bool,
383 [0] * num_bool, [1] * num_bool)
/dports/math/py-or-tools/or-tools-9.2/ortools/sat/
H A Dsynchronization.cc539 const int64_t num_bool = model->Get<Trail>()->NumVariables(); in NewSolution() local
542 num_bool); in NewSolution()