Lines Matching defs:problem
149 Solution(::Id id, LibsolvSolver::Problem* problem)
153 fProblem(problem)
507 Problem* problem = static_cast<Problem*>(_problem);
509 problem->SetSelectedSolution(NULL);
514 if (solution->Problem() != problem)
517 problem->SetSelectedSolution(solution);
531 Problem* problem = fProblems.ItemAt(i);
532 if (const Solution* solution = problem->SelectedSolution())
533 solver_take_solution(fSolver, problem->Id(), solution->Id(), fJobs);
1011 Problem* problem = new(std::nothrow) Problem(problemId, problemType,
1013 if (problem == NULL || !fProblems.AddItem(problem)) {
1014 delete problem;
1020 status_t error = _AddSolution(problem, solutionId);
1030 LibsolvSolver::_AddSolution(Problem* problem, Id solutionId)
1032 Solution* solution = new(std::nothrow) Solution(solutionId, problem);
1033 if (solution == NULL || !problem->AppendSolution(solution)) {
1042 elementId = solver_next_solutionelement(fSolver, problem->Id(),