I have to write constraint within the software.
The constraint says that:
A - Number of employees Type 1
B - Number of employees Type 2
C - Number of employees Type 3
D - No. 4-type workers
If the total number of employees (A + B + C + D) is greater or equal than 40
So I would have to pay a tax of 100 000 dollars.
I know there is a need to use a binary variable.
So if it is equal to one then I have to pay the tax.
If it is equal to 0 so I do not have to pay.
This objective function appears as 100000X, where X is a binary variable.
How do I write the constraint in the software itself?
It would seem that the constraint is:
A + B + C + D> = 40X
The constraint says that:
A - Number of employees Type 1
B - Number of employees Type 2
C - Number of employees Type 3
D - No. 4-type workers
If the total number of employees (A + B + C + D) is greater or equal than 40
So I would have to pay a tax of 100 000 dollars.
I know there is a need to use a binary variable.
So if it is equal to one then I have to pay the tax.
If it is equal to 0 so I do not have to pay.
This objective function appears as 100000X, where X is a binary variable.
How do I write the constraint in the software itself?
It would seem that the constraint is:
A + B + C + D> = 40X