Skip to content

Infeasible solution with "fill_tightened_domains_in_response" #5001

@sjindel

Description

@sjindel

What version of OR-Tools and what language are you using?
Version: main
Language: C++

Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)

CP-SAT

What operating system (Linux, Windows, ...) and version?
Linux 6.12.44

What did you do?
Solve the attached model (optimisation)

What did you expect to see
No crash

What did you see instead?
Crash - infeasible solution produced

Model attached. It crashes with or without the 'deterministic' parameter set, provided fill_tightened_domains_in_response=true in the SatParameters. Without that, it solves successfully.

I0000 00:00:1769090174.150522 3968175 cp_model_solver.cc:2875] Dumping infeasible response proto to '/tmp/wrong_response.pb.txt'.
F0000 00:00:1769090174.187860 3968175 cp_model_solver.cc:2879] Infeasible solution! source: 'default_lp' dumped CpSolverResponse to '/tmp/wrong_response.pb.txt'.
*** Check failure stack trace: ***
    @     0x56c195de7cf1  absl::lts_20250814::log_internal::LogMessage::SendToLog()
    @     0x56c1956d72b4  operations_research::sat::SolveCpModel()::{lambda()#1}::operator()()
    @     0x56c195c5fbd9  operations_research::sat::SharedResponseManager::GetResponse()
    @     0x56c1956fcd39  operations_research::sat::SolveCpModel()
    @     0x56c1956bd1fc  main
    @     0x7dfc95027675  (unknown)
    @     0x7dfc95027729  __libc_start_main
    @     0x56c1956bc9e5  _start

model.txt

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions