OptimizationType

 

 

Name

 

            OptimizationType

 

Type

 

            Read/Write

 

When to use it

 

            You can set the value of this property before calling the method Start.

            You may get the value of this property anytime.

 

Prototype

 

            property OptimizationType: Long;

 

Explanations

 

        Specifies the type of optimization. Possible values are:

 

        0 - waste optimization. The total waste is minimized.

        1 - cost optimization. The total cost of involved repository pieces is minimized. The cost of each repository piece is set with SetRepositoryPiece2 method. Note that the cost is computed for the entire bars involved in optimization not for the utilized length from each involved bar (example: a bar cost 10$. If the program utilizes half of it, the cost will be 10$.).

        2 - utility optimization. The total utility is maximized. The utility of piece was set with SetDemandPiece3 method. - BETA testing.

 

Links

        back to index

        www.optimalprograms.com