AlloyTools / org.alloytools.alloy

Alloy is a language for describing structures and a tool for exploring them. It has been used in a wide range of applications from finding holes in security mechanisms to designing telephone switching networks. This repository contains the code for the tool.
Other
694 stars 123 forks source link

PLingleling and Lingeling with hybrid and parallel decomposed strategies #189

Closed soaresCecilia closed 1 year ago

soaresCecilia commented 1 year ago

I'm using Alloy Analyzer 6.1.0, java version 15 and a macOS Monterey version 12.6, with 3,5 GHz Intel Core i7 dual core and 16GB of memory.

With Alloy sample model _leaderevents when executing the command Run example or any check command with solvers PLingeling and Lingeling in parallel or hybrid decomposed strategies no instance is found. Besides, there are no vars or primary vars.

However, executing the same commands with the same strategies, but any different solver the outcome is different, i.e., the run command will find an instance and the check commands will handle some vars and primary vars.

grayswandyr commented 1 year ago

Thanks for the report. Can you provide the source file please?

soaresCecilia commented 1 year ago

You can find the source file here:

https://github.com/AlloyTools/org.alloytools.alloy/blob/master/org.alloytools.alloy.extra/extra/models/examples/temporal/leader_events.als

nmacedo commented 1 year ago

Fixed for 6.2 (Pardinus 1.3.1).