jgraley / inferno-cpp2v

2 stars 0 forks source link

Fix CSP solver for XLinks #196

Closed jgraley closed 3 years ago

jgraley commented 3 years ago

See #193: We need to be able to extract this info (xlinks to master couplings) from the solution...

FREE/FORCED as a variable flag will have to go, since the new mode is on constraints themselves. Instead we want FREE/LOCATED on SystemicConstraint. A LOCATED SystemicConstraint:

Note: while distinct pattern links are being supplied as variables (see PopulateForSolver()) and distinct X links are apparently being supplied as Values (see StartCSPSolver()), nothing is being done in SystemicConstraint to constrain couplings, which are now free to be non-equivalent due to the distinct variables. This is bug.

So:

jgraley commented 3 years ago

Corrections:

jgraley commented 3 years ago

Seem to be repeating https://github.com/jgraley/inferno-cpp2v/issues/169#issuecomment-712118851