Searched refs:Profit (Results 1 - 10 of 10) sorted by relevance
/barrelfish-master/usr/eclipseclp/ecrc_solvers/propia/ |
H A D | manual_examples.pl | 30 sum([Name|Products],Count1,Count2,Profit) :- 31 [Count1,Count2,Profit]::0..100, 35 Profit #= Profita+Profitb, 42 Profit #>= MinProfit, 43 sum(Products,Comp1,Comp2,Profit),
|
/barrelfish-master/usr/eclipseclp/Kernel/src/ |
H A D | eg_c_mip.c | 106 ec_ref Profit; local 114 Profit = ec_ref_create_newvar(); 119 eq( times(varlist, ec_listofdouble(NCOLS,pc)), ec_ref_get(Profit)); 123 maximize( times(varlist, ec_listofdouble(NCOLS,pc)), ec_ref_get(Profit)); 130 if (ec_get_double(ec_ref_get(Profit), &d) == PSUCCEED) 131 printf("Profit is %f\n", d); 133 printf("Profit is ?\n"); 146 ec_ref_destroy(Profit);
|
H A D | eg_cc_mip.cc | 91 EC_ref Profit; local 104 maximize(VarList * list(NCOLS,pc), Profit); local 111 if (EC_word(Profit).is_double(&d) == EC_succeed) 112 std::cout << "Profit is " << d << "\n"; 114 std::cout << "Profit is ?\n";
|
/barrelfish-master/usr/eclipseclp/ecrc_solvers/ |
H A D | propia_fdtests.pl | 102 sum([Name|Products],Count1,Count2,Profit,Language) :- 103 [Count1,Count2,Profit]::0..100, 107 Profit #= Profita+Profitb, 114 Profit #>= MinProfit, 115 sum(Products,Comp1,Comp2,Profit,Language),
|
/barrelfish-master/usr/eclipseclp/documents/libman/ |
H A D | extpropia.tex | 235 /*** product(Name,#Component1,#Component2,Profit). **/ 252 We first define a predicate \verb0sum(Products,Comp1,Comp2,Profit)0 261 sum([Name|Products],Count1,Count2,Profit) :- 262 [Count1,Count2,Profit]::0..100, 266 Profit #= Profita+Profitb, 289 sum([Name|Products],Count1,Count2,Profit) :- 290 [Count1,Count2,Profit]::0..100, 294 Profit #= Profita+Profitb, 301 ?- sum([V1, V2, V3], Comp1, Comp2, Profit). 307 Profit [all...] |
/barrelfish-master/usr/eclipseclp/documents/tutorial/ |
H A D | repairtut.tex | 556 Profit tent_is Profits*Vars, 557 local_search(<extra parameters>, Vars, Profit, Opt). 630 of the Profit variable (which is being constantly updated by {\tt tent_is}). 633 random_walk(MaxIter, VarArr, Profit, Opt) :- 637 param(Profit,VarArr) 640 Profit tent_get CurrentProfit, % what is its profit? 690 sim_anneal(Tinit, Tend, MaxIter, VarArr, Profit, Opt) :- 694 param(MaxIter,Profit,VarArr,Tend) 699 param(VarArr,Profit,T) 701 Profit tent_ge [all...] |
H A D | propiachr.tex | 156 Profit #>= 40, 157 sum(Products,Raw1,Raw2,Profit), 164 sum(Products,Raw1,Raw2,Profit) :- 174 Profit #= sum(PList).
|
H A D | eplex.tex | 806 What is the result in terms of T1, T2 and Profit?
|
/barrelfish-master/usr/eclipseclp/documents/search/ |
H A D | search.tex | 1045 knapsack(N, Profits, Weights, Capacity, Profit) :- 1049 Profit #= Profits*Vars, % the objective 1050 min_max(labeling(Vars), -Profit). % branch-and-bound search 1072 Profit tent_is Profits*Vars, 1073 local_search(<extra parameters>, Vars, Profit, Opt). 1161 of the Profit variable (which is being constantly updated by tent\_is). 1163 random_walk(MaxIter, VarArr, Profit, Opt) :- 1167 param(Profit,VarArr) 1170 Profit tent_get CurrentProfit, % what is its profit? 1207 hill_climb(MaxTries, MaxIter, VarArr, Profit, Op [all...] |
/barrelfish-master/usr/eclipseclp/Kernel/lib/ |
H A D | branch_and_bound.pl | 767 % maximize Profit 768 Cost #= -Profit,
|
Completed in 106 milliseconds