• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

More non linear costs

  • Thread starter Thread starter csuch at adelaide.on.net
  • Start date Start date
C

csuch at adelaide.on.net

Guest
Hiya,

how would I model the following cost equation?

Unit cost = (# of models * 7) - 35
with a minimum cost of 0.

That means the first 5 models are free and subsequent ones are 7
points each?

Cheers, Chris.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs from home.
Over 14,500 titles. Free Shipping
& No Late Fees. Try Netflix for FREE!
http://us.click.yahoo.com/BVVfoB/hP.FAA/uetFAA/IMSolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, email

armybuilder-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
 
Set the unit cost to Zero. Create an option with the following
attributes:
---
hide
cost:expr=#-5*7
usiz:min=6
---
Assing the option to the unit as incl.

This will subtract 5 from the current unit size (so 5 are free) and
multiply the remaining by 7. This option will only apply if there are
more than 5 models.

Mark



--- chrissuch <csuch@adelaide.on.net> wrote:
> Hiya,
>
> how would I model the following cost equation?
>
> Unit cost = (# of models * 7) - 35
> with a minimum cost of 0.
>
> That means the first 5 models are free and subsequent ones are 7
> points each?
>
> Cheers, Chris.
>
>
>
> To unsubscribe from this group, email
>
> armybuilder-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>


=====
Warhammer Club - Vancouver, BC
http://www.WCP-Vancouver.com

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs from home.
Over 14,500 titles. Free Shipping
& No Late Fees. Try Netflix for FREE!
http://us.click.yahoo.com/BVVfoB/hP.FAA/uetFAA/IMSolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, email

armybuilder-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
 
At 12:08 AM 5/13/2003 +0000, you wrote:
>Hiya,
>
>how would I model the following cost equation?
>
>Unit cost = (# of models * 7) - 35
>with a minimum cost of 0.
>
>That means the first 5 models are free and subsequent ones are 7
>points each?

Set the unit cost to be 0. Then assign it an option using 'auto', with the
following attributes:

hide
usiz:min=6
cost:expr=#*7-35
cost:single

Thus, the option will be hidden, will only become active when there are at
least 6 models in the unit, will have a cost of the unit size, multiplied
by 7, minus 35, and that cost will only be applied once to the units total
cost (rather than once per model, which is not what you want).

Hope this helps,


--
Colen McAlister (colen@wolflair.com)
Lone Wolf Development www.wolflair.com


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/YoVfrB/XP.FAA/uetFAA/IMSolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, email

armybuilder-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
 
To do it :
Create a special stat value bounded to be >0 in the datadef file, with
your formula (calc local attribute), then create an option which cost
is equal to the stat.

Garfunkel

--- chrissuch <csuch@adelaide.on.net> a écrit : > Hiya,
>
> how would I model the following cost equation?
>
> Unit cost = (# of models * 7) - 35
> with a minimum cost of 0.
>
> That means the first 5 models are free and subsequent ones are 7
> points each?
>
> Cheers, Chris.
>
>
> ------------------------ Yahoo! Groups Sponsor
>
> To unsubscribe from this group, email
>
> armybuilder-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/YoVfrB/XP.FAA/uetFAA/IMSolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, email

armybuilder-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
 
> Set the unit cost to be 0. Then assign it an option using 'auto',
with the
> following attributes:
>
> hide
> usiz:min=6
> cost:expr=#*7-35
> cost:single

> Hope this helps,

That works a treat.

Cheers, Chris.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs from home.
Over 14,500 titles. Free Shipping
& No Late Fees. Try Netflix for FREE!
http://us.click.yahoo.com/BVVfoB/hP.FAA/uetFAA/IMSolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, email

armybuilder-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
 
Back
Top