Congratulations to Martin McCaffery, who successfully defended his thesis today. He is pictured with supervisor Dr Mark-Jan Nederhof, Internal examiner Dr Graham Kirby and external examiner Dr Maja Popović from Humboldt-Universität zu Berlin.
News
Computer Science Ball 2017
Postgraduate students, led by Paul Dobra, organised the first ever CS Ball in August. The celebration coincided with finishing summer dissertations and the annual poster and demo session. The school sponsored Smurfalicious Blue Ball proved very popular and sold out of tickets earlier in August. The theme was blue and the location was The old Manor Hotel, in Lundin Links. The evening comprised of champagne, dinner and a Ceilidh till midnight. Students are pictured enjoying the 3 course dinner and fully embracing the spirit of a Cèilidh. We look forward to seeing them at December Graduation.
Images courtesy of Paul Dobra, Ula Rustamova, Nick Tikhonov, and Xu Zhu.
– Main Organisers: Paul Dobra & Shyam Reyal
– Promotion (online): Yin Noe, Nouchali Reyal
– Promotion (offline): Gillian Baird, Fiona George, Midhat Un Nisa
– Material Design: Yin Noe
– Photography: Ula Rustamova and Nick Tikhonov
– Decorations: Fiona George, Midhat Un Nisa, Anke Shi, Masha Nedjalkova, Sihan Li
– Electronics / Multimedia / Drone: Xu Zhu
– Music for Disco: Blair Fyfe
Gala Malbasic: Finalist in Scottish Software Engineer of the Year
Congratulations to St Andrews student Gala Malbasic, who has been selected as one of the finalists in the Young Software Engineer of the Year Award 2017.
The Young Software Engineer of the Year Awards are given for the best undergraduate software projects completed by students studying computer science and software engineering in Scotland.
Gala graduated in Computer Science from St Andrews earlier this year, her Major Software Project – Leap Up: The New Keyboard Renaissance, incorporated novel uses of the Leap Motion sensor and was supervised by Professor Aaron Quigley.
Previous finalists and prize winners have included,
Simone Ivan Conte, Sam Elliott,Thomas Grimes, Alistair Scott, Craig Paul, Angus MacDonald, Ben Catherall and Graeme Bell. The number of finalists is further testament to the quality of talented students graduating from the School of Computer Science at St Andrews.
The winners of this year’s award will be announced on 5th October 2017!
Computer Science Orientation and Welcome 2017
After advising and induction events, staff and students are pictured enjoying a welcome reception and orientation activities, coordinated by Uta Hinrichs. The annual orientation gaming session proved as popular as ever and offered retro classic digital games and traditional board games. The gaming session was closely followed by a well attended welcome reception for the consumption of Twiglets and Irn Bru.
Ott: Effective Tool Support for the Working Semanticist
ACM SIGPLAN has judged Ott: Effective Tool Support for the Working Semanticist, by Peter Sewell, Francesco Zappa Nardelli, Scott Owens, Gilles Peskine, Thomas Ridge, Susmit Sarkar, and Rok Strniša, to be the recipient of the Most Influential ICFP Paper Award for 2017. From the citation:
“Over the past ten years, ICFP researchers have benefitted tremendously from the open-source tool and the effective design space exploration that it promotes.”
n-Queens Completion is NP-Complete
Update, 2021
Over the years since we published this research, many people have approached us having solved the n queens puzzle, either for one n like 8 or 1000, or having written an algorithm to solve it for different sizes. Unfortunately this is not a major result in Computer Science and does not make one eligible to claim the $1M Clay prize. Many have been disappointed by this so we want to clarify why this is the case.
It is true that work on this problem could potentially result in the award but only if some exceptionally difficult conditions are met.
- EITHER prove mathematically that NO possible algorithm could solve the n queens completion problem in polynomial time;
- OR prove that there is an algorithm which is guaranteed to solve every instance of the n queens completion problem in polynomial time. Note that in this case the algorithm has to work on the completion version of the problem studied in our paper, not placing queens on an empty board; the algorithm has to give the correct answer on every possible instance given to it; and there has to be a mathematical proof that the algorithm’s runtime is bounded above by some polynomial in the size of the board. However fast a given algorithm runs when tested, this is not sufficient because there are an infinite number of possible tests available, so a mathematical proof is required.
- AND in either case, prove this at a level that is published in a respected academic source and is widely accepted by research experts as correct.
We are delighted that our work has led so many people to be interested in the problem of solving problems like the n queens puzzle that fascinates us. But we also apologise for any impression we gave, unintentionally, that a solution to the n queens puzzle could lead to the award of the prize except under the extremely strenuous conditions listed above.
Ian Gent, 10 May 2021
Original Post from 2017:
Ian Gent, Christopher Jefferson and Peter Nightingale have shown that a classic chess puzzle is NP-Complete. Their paper “Complexity of n-Queens Completion” was published in the Journal of Artificial Intelligence Research on August 30, 2017.

Peter Nightingale and Ian Gent at Falkland Palace, Wednesday, 17 August 2017.
©Stuart Nicol Photography, 2017
controversy in Artificial Intelligence (AI). The n-Queens puzzle is often used as a benchmark problem, but good results on the problem can always be challenged because the problem is so simple to solve without using AI methods.
The new work follows a challenge on Facebook on New Year’s Day, 2015, when a friend of Ian’s asked him how hard n-Queens is if some queens were already placed on the board. It turns out, this version (dating from 1850) of the puzzle is only two years younger than the more famous n-Queens problem. The picture shows Peter (left) and Ian (right) with queens on the board at positions suggested by Nauck in 1850, the squares b4 and d5. Can you put another 6 queens on the board so that the entire board is a solution of 8-Queens? The general version with some number of queens preplaced on an n by n board is the n-Queens Completion puzzle.
MSc Poster Demo Session 2017
After a year of hard work, and an intensive summer dissertation, our MSc students submitted their dissertations last week and presented their project posters and artefacts.
The eventful poster demonstration session provides a great opportunity for students to meet with second markers, reflect upon their MSc experience and appreciate the diverse projects completed by their peers. This year, students organised a School sponsored CS Ball, to celebrate their achievement.
We wish them all, every success with future plans, and look forward to seeing them again at December Graduation.
Images courtesy of Saleem Bhatti and Xu Zhu.
Postgraduate Dinner at Fairmont Hotel
Postgraduate student, Paul Dobra organised an end of semester celebratory dinner at the Fairmont Hotel in April. The social event marked the end of teaching and provided a chance to relax before the commencement of dissertation. Paul supplied comments and shared some photos from the occasion.
“There are rather few occasions not to be happy when you are surrounded by friends and family. Even better so when your friends are like your family, and in true computer science spirit the end of the second semester finished in a grand style: enjoying the scenic view of the North Sea from the balcony of the Fairmont Hotel and Restaurant, approximately 60 postgraduates celebrated their friendship and the successful completion of deadlines. Consisting of a lavish three-course meal and blessed with amazing weather, the event was a reminder of the true, everlasting bonds that can be forged outside university.”
Images and text courtesy of Paul Dobra
Immersive Learning Keynote: Dr Alan Miller
Dr Alan Miller joined other virtual reality educationalists to give an invited keynote talk at the 3rd Immersive Learning Network Conference on Tuesday 27th June.
The presentation drew upon two major complementary themes: virtual time travel and the use of immersive technologies for museums.
First ever Computer Science Ball
We would like to cordially invite all staff, students, and alumni to this historic CS event in the making. As you know, other schools in St Andrews have their own annual ball e.g. chem-ball, physics-ball, bull-and-bear (economics) ball etc. For a while, we have wanted our own CS ball – and thanks to a team of keen MSc students and sponsorship from the School of Computer Science – the ball is finally happening!
The tickets available from https://www.eventbrite.co.uk/e/first-ever-cs-ball-smurfalicious-blue-ball-tickets-35035549271 are priced at £39.95, which includes:
- Full 3 course dinner (starter, main, dessert) with 4 options each to choose from – including vegan/vegetarian/pescaterian options and adjustments for Halal etc.
- A glass of champagne or a non-alcoholic mocktail
- A Ceilidh till midnight
- Return transport by coach from St Andrews to The Old Manor Hotel
The ball will strengthen our sense of fellowship, between all staff and students, and not least as a school. But as you all know very well, we are not just a school, we are a family – the St Andrews #csfamily. Hope to see many of you there!
FAQ:
- Theme: Blue
- Dress-code: Anything Blue
- Menu: https://smr20.host.cs.st-andrews.ac.uk/blue_ball_menu.pdf
- FB Event: https://www.facebook.com/events/113309122589177
- Tickets: https://www.eventbrite.co.uk/e/first-ever-cs-ball-smurfalicious-blue-ball-tickets-35035549271
Info and files provided by Shyam Reyal


















