Hi, I have one question... How do I for maximize the variable Valor in this example? :- lib(ic). fabrica(Tarefa) :- Custo = []( [](5, 1, 3, 4, 6), [](8, 8, 5, 7, 3), [](4, 9, 1, 5, 2)), Tarefa = [T1, T2, T3], Tarefa :: 1..5, labeling(Tarefa), Valor #= Custo[1, T1] + Custo[2, T2] + Custo[3, T3], Valor #>= 15, writeln(Valor). IsmaelReceived on Fri Nov 06 2009 - 07:26:35 CET
This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:58 CET