Skip to main content

Optimal Scheduling Using Branch and Bound with SPIN 4.0

  • Conference paper
  • First Online:
Model Checking Software (SPIN 2003)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2648))

Included in the following conference series:

Abstract

The use of model checkers to solve discrete optimisation problems is appealing. A model checker can first be used to verify that the model of the problem is correct. Subsequently, the same model can be used to find an optimal solution for the problem. This paper describes how to apply the new Promela primitives of Spin 4. 0 to search effectively for the optimal solution. We show how Branch-and-Bound techniques can be added to the LTL property that is used to find the solution. The LTL property is dynamically changed during the verification. We also show how the syntactical reordering of statements and/or processes in the Promela model can improve the search even further. The techniques are illustrated using two running examples: the Travelling Salesman Problem and a job-shop scheduling problem.

This work is partially supported by the European Community IST-2001-35304 Project AMETIST (Advanced Methods for Timed Systems).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Advanced Methods for Timed Systems (AMETIST) Project. IST-2001-35304. Homepage: http://ametist.cs.utwente.nl/.

  2. G. Behrmann, A. Fehnker, T. Hune, K. Larsen, P. Pettersson, and J. Romijn. Efficient Guiding Towards Cost-Optimality in Uppaal. In T. Margaria and W. Yi, editors, Procs. of the 7th Int. Conf. on Tools and Algorithms for the Construction and Analysis of Systems (TACAS 2001), volume 2031 of LNCS, pages 174–188, Genova, Italy, April 2001. Springer.

    Chapter  Google Scholar 

  3. O. S. Benli. The Branch-and-Bound Approach. In Anil Mital, editor, Industrial Engineering Applications and Practice: Users’ Encyclopedia, 1999. CD-ROM edition, chapter available from http://http://www.csulb.edu/~obenli/.

  4. D. Bošnački, D. Dams, and L. Holenderski. Symmetric Spin. In Havelund et al. [9], pages 1–19.

    Chapter  Google Scholar 

  5. E. Brinksma and A. Mader. Verification and Optimization of a PLC Control Schedule. In Havelund et al. [9], pages 73–92.

    Chapter  Google Scholar 

  6. S. Edelkamp, A. L. Lafuente, and S. Leue. Directed Explicit Model Checking with HSF-SPIN. In M. B. Dwyer, editor, Model Checking Software, Procs. of the 8th Int. SPIN Workshop, volume 2057 of LNCS, pages 57–79, Toronto, Canada, May 2001. Springer.

    Google Scholar 

  7. A. Fehnker. Scheduling a Steel Plant with Timed Automata. In Procs. of the 6th Int. Conf. on Real-Time Computing Systems and Applications (RTCSA 1999), pages 280–286. IEEE Computer Society, 1999.

    Google Scholar 

  8. A. Fehnker. Citius Vilius Melius — Guiding and Cost-Optimality in Model Checking of Timed and Hybrid Systems. PhD thesis, University of Nijmegen, The Netherlands, April 2002.

    Google Scholar 

  9. K. Havelund, J. Penix, and W. Visser, editors. SPIN Model Checking and Software Verification, Procs. of the 7th Int. SPIN Workshop (SPIN’2000), volume 1885 of LNCS, Stanford, California, USA, August 2000. Springer.

    Google Scholar 

  10. G. J. Holzman. The SPIN Model Checker — Primer and Reference Manual. Addison-Wesley, Boston, USA, 2003.

    Google Scholar 

  11. G. J. Holzmann. Spin homepage: http://spinroot.com/.

  12. G. J. Holzmann. Design and Validation of Computer Protocols. Prentice Hall, Englewood Cliffs, New Jersey, USA, 1991.

    Google Scholar 

  13. G. J. Holzmann. The Model Checker Spin. IEEE Transactions on Software Engineering, 23(5):279–295, May 1997.

    Article  MathSciNet  Google Scholar 

  14. G. J. Holzmann, D. Peled, and M. Yannakakis. On Nested Depth First Search. In J.-C. Gr’egoire, G. J. Holzmann, and D. A. Peled, editors, The SPIN Verification System, Procs. of the 2nd Int. SPIN Workshop (SPIN’96), volume 32 of DIMACS Series, Rutgers University, New Jersey, USA, August 1996. AMS.

    Google Scholar 

  15. K. Larsen, G. Behrmann, E. Brinksma, A. Fehnker, T. Hune, P. Pettersson, and J. Romijn. As Cheap As Possible: Efficient Cost-Optimal Reachability for Priced Timed Automata. In G. Berry, H. Comon, and A. Finkel, editors, Procs. of the 13th Int. Conf. on Computer Aided Verification (CAV 2001), volume 2102 of LNCS, pages 493–505, Paris, France, July 2001. Springer.

    Google Scholar 

  16. Princeton University, Mathematics Department. Traveling Salesman Problem — Homepage. http://www.math.princeton.edu/tsp/.

  17. G. Reinelt. The Travelling Salesman — Computational Solutions for TSP Applications, volume 840 of LNCS. Springer, 1994.

    Google Scholar 

  18. T. C. Ruys. Low-Fat Recipes for Spin. In Havelund et al. [9], pages 287–321.

    Chapter  Google Scholar 

  19. T. C. Ruys. Towards Effective Model Checking. PhD thesis, University of Twente, Enschede, The Netherlands, March 2001. Available from the author’s homepage.

    Google Scholar 

  20. T. C. Ruys and E. Brinksma. Experience with Literate Programming in the Modelling and Validation of Systems. In B. Steffen, editor, Procs. of the 4th Int. Conf. on Tools and Algorithms for the Construction and Analysis of Systems (TACAS’98), number 1384 in LNCS, pages 393–408, Lisbon, Portugal, April 1998.

    Chapter  Google Scholar 

  21. G. S. Shedler. Regenerative Stochastic Simulation. Academic Press, Boston, 1993.

    MATH  Google Scholar 

  22. W. L. Winston. Operations Research — Applications and Algorithms. Duxbury Press, Belmont, California, USA, third edition, 1994.

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Ruys, T.C. (2003). Optimal Scheduling Using Branch and Bound with SPIN 4.0. In: Ball, T., Rajamani, S.K. (eds) Model Checking Software. SPIN 2003. Lecture Notes in Computer Science, vol 2648. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44829-2_1

Download citation

  • DOI: https://doi.org/10.1007/3-540-44829-2_1

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-40117-9

  • Online ISBN: 978-3-540-44829-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics