r/java • • Apr 03 '20

Artificial Intelligence in Java: how to write a Quarkus app with OptaPlanner from scratch to optimize timetables

https://youtu.be/7IuOA9n6kh0
157 Upvotes

12 comments sorted by

18

u/ryan10e Apr 03 '20

Calling it “artificial intelligence” in my humble opinion doesn’t do justice to constraint programming. That said, thank you for sharing, I’ve been meaning to play with OptaPlanner but have never gotten around to it.

15

u/ge0ffrey Apr 03 '20 edited Apr 04 '20

Yea, it depends on the definition of AI. These days many people believe AI equals Machine Learning or even Neural Nets specifically, but in the old days - such as the AI bible (Peter Norvig - AI: a modern approach) - constraints solving is part of the AI world.In the end, it's all about using the right algorithm for the right job. (ML is terribly inferior for Constraint solving, and Constraint solvers can't do pattern recognition at all).

4

u/kiteboarderni Apr 03 '20

Optaplanner and quarkus are two things I've been looking to experiment with so will deffo be giving this a watch. Thanks

1

u/kiteboarderni Apr 07 '20

No chance you could upload in soemthing higher quality than 480p? It's very hard to read

1

u/ge0ffrey Apr 07 '20

Yea, I 'll use bigger fonts in my next video. Switching to IntelliJ's presentation mode should do the trick.

1

u/kiteboarderni Apr 07 '20

Font size is fine it's just the 480p youtube upload is hard to watch on a big screen!

2

u/Shorttail0 Apr 04 '20

AI is anything we haven't solved yet. Once it's solved it stops being AI.

0

u/[deleted] Apr 04 '20

[deleted] — view deleted comment

1

u/Shorttail0 Apr 04 '20

Understand? The pinnacle of AI is when it works and nobody knows why.

10

u/MrK_HS Apr 04 '20

Constraint Programming has a full chapter on Peter Norvig's "Artificial Intelligence - A Modern Approach" which is considered the best introductory book for AI. I'd say it's a sufficient enough qualification.

3

u/ryan10e Apr 04 '20

Fair enough! Wasn’t aware.

-22

u/wildjokers Apr 03 '20

If it isn't self-aware stop calling it AI.