Successfull day: managed to compile and link gnu-prolog against generated corba-interface (ORBit2). The main problem was that gnu-prolog uses its own magic linker and I had to figure out how to insert them into build-process of automake/autoconf. Reading automake manual (in the end) was a great help ;)
gnu-prolog is able to generate native code (magic!). Now it is possible to write a scheduler in highlevel language Prolog and create fast native code for MrProject; no need for additional interpreters. ;) In addition Bowie Owens sent me his Prolog implementation of cumulative FD-constraint, being crucial for efficient Project-Management.
At first I will write a function that searches for first feasible solution, being consistent with all user defined resource-constraint. Having this function it is possible to place new tasks in calendar where resources are available.
This function can be extended later to search for optimal solution.
Great week ;)
by the way, this man is cool: http://www.sfc.keio.ac.jp/~ted/