Partial solutions

39 views
Skip to first unread message

Mauro Rozenberg

unread,
Sep 14, 2011, 9:29:54 AM9/14/11
to AIMMS - The Modeling System
Hi all.
I'm building a payment model for credit cards based on morosity and
service quality.
In the model there are two types of clients in each store: regular and
VIP. So based in certain condition I'd like to solve the model
improving the morosity or the service quality.
Until this point I haven't been found any problems. I've used two math
programs in the model but uxecuting only one. But what I'm trying to
do now is to solve the problem partialy.
So I'd like to improve de morosity of the regular clients and then
improve the service quality for the VIP clients. So I need to solve
the first MP usnig only certain variables and conditions and then the
oher MP. Is this posible?

Thanks,
Mauro.

Luis Pinto

unread,
Sep 14, 2011, 10:02:45 AM9/14/11
to ai...@googlegroups.com
Hello Mauro,

You can use two set identifiers which are subsets of AllVariables and AllConstraints.
Select the variables and constraint you want as elements of these sets.
Then define you Mathematical Program to use theses sets as Variables and Constraints.

Done!

Cheers,

Luis Pinto

www.unisoma.com.br


--
You received this message because you are subscribed to the Google Groups "AIMMS - The Modeling System" group.
To post to this group, send email to ai...@googlegroups.com.
To unsubscribe from this group, send email to aimms+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/aimms?hl=en.


Mauro Rozenberg

unread,
Sep 14, 2011, 10:22:54 AM9/14/11
to AIMMS - The Modeling System
Great solution! It's gonna save so much time.
Just one more cuestion. How do I make these two 'set identifiers'? I
haven't found any element like this.


On 14 sep, 11:02, Luis Pinto <luisf...@gmail.com> wrote:
> Hello Mauro,
>
> You can use two set identifiers which are subsets of AllVariables and
> AllConstraints.
> Select the variables and constraint you want as elements of these sets.
> Then define you Mathematical Program to use theses sets as Variables and
> Constraints.
>
> Done!
>
> Cheers,
>
> Luis Pinto
>
> www.unisoma.com.br
>

Luis Pinto

unread,
Sep 14, 2011, 11:11:46 AM9/14/11
to ai...@googlegroups.com
An identifier is any element, such as Parameters, Sets, Variables, etc.
A Set Identifier is just a regular Set.

Cheers,

Luis Pinto

www.unisoma.com.br

Mauro Rozenberg

unread,
Sep 14, 2011, 11:55:48 AM9/14/11
to AIMMS - The Modeling System
How can I define this set?
I have defined the set as a subset of (AllConstraints,AllVariables).
Is this right?
Where do I select the contrains and variables?

On 14 sep, 12:11, Luis Pinto <luisf...@gmail.com> wrote:
> An identifier is any element, such as Parameters, Sets, Variables, etc.
> A Set Identifier is just a regular Set.
>
> Cheers,
>
> Luis Pinto
>
> www.unisoma.com.br
>

Mauro Rozenberg

unread,
Sep 14, 2011, 1:38:29 PM9/14/11
to AIMMS - The Modeling System
To make this more clear, let me explian a bit more of the model in
using.
Basicly it has three sets: Stores, Cards, Day. Some parameters with
diferent index domians and also variables with diferent index domains.
The model runs for each store independently.
So I've defined the VIP_card:
IDENTIFIER: VIP_card
INDEX DOMAIN:
SUBSET OF: AllVariablesConstraints
TEXT:
INDEX:
PARAMETER:
PROPERTY:
DEFINITION:
What else shall I define here?

Pim

unread,
Sep 15, 2011, 2:20:49 AM9/15/11
to AIMMS - The Modeling System
Hi,

Let's assume you have two different mathematical programs, MorosityMP
and ServiceQualityMP. In that case you can introduce 4 new sets,
MorosityConstraints, MorosityVariables, ServiceQualityConstraints and
ServiceQualityVariables. The ..Constraints sets should be subset of
AllConstraints, the ..Variables sets should be subset of AllVariables.
One way to assign elements to these sets is by selecting certain
constraints and variables via the definition wizard in the attribute
of the set. Please realize a variable with a definition should be
added both the variables and constraints set. Finally you should
select these new sets in the Variables and Constraints field of the
mathematical programs.

Pim

Mauro Rozenberg

unread,
Sep 15, 2011, 8:17:18 AM9/15/11
to AIMMS - The Modeling System
Thanks.
So my defnition should be something like this?
SET
IDENTIFIER: VIP_variables
SUBSET OF: allvariables
DEFINITION: data{MOROSITY, SERVICE_Q, ...}

The issue is that most of the variables are indexed by the type of
card (T). Can I use them? Or should I split all variables?

Best,
Mauro.

Deanne Zhang

unread,
Sep 18, 2011, 12:26:48 AM9/18/11
to ai...@googlegroups.com
Hi Mauro,

Have you checked whether the "Nonvar status" attribute of Variable
works for your situation?

Best,
Deanne

Mauro Rozenberg

unread,
Sep 19, 2011, 8:06:21 AM9/19/11
to AIMMS - The Modeling System
Thanks.
I've just looked into it. Seems like it's gonna work and will be
simple to configure in a procedure.
The only problem are the contraints related to these variables but
I'll use some kind of flag parameter to disable them.

Best,
Mauro.
Reply all
Reply to author
Forward
0 new messages