set_variable_cost

Set the variable cost for an activity.

A variable cost is a cost per time unit that can be assigned to an activity and has no link with its resource assignments. It is a variable amount of money which is dependent on the activity duration and can be used to describe resource-independent costs such as activity overhead. The cost must be paid per time unit along the duration of the activity.

Parameters: 
I/O Type Name Description
input integer ID activity ID
input float cost cost per unit
Learn More: 

Step inside PMKC.

Example: 
function ()
        io.write('\n')
end
Class: 
P2Schedule