Find Jobs
Hire Freelancers

Answer set programming

$250-750 USD

Closed
Posted over 8 years ago

$250-750 USD

Paid on delivery
Using answer set programming do question 4 in file: Our class has 13 students. Suppose that we need to divide our class into four groups. Each group has 3 or 4 students. For simplicity, we will refer to the student by number, from 1 to 13. We will use the atom student(1..13) to encode the students in the class. Students like (or do not like) to work with each other. Suppose that we also have some information like like(1,2). like(12,3). like(13,5). like(7,8). dislike(1,13). dislike(2,7). dislike(6,5). dislike(3,9). The above relations are assumed to be symmetric. Write an ASP program that helps me divide the students into four groups, each group has at least 3 and at most four students such that a. No group has two people who dislike each other b. The number of pairs who like each other and are in different groups is minimal. c. Compute 5 solutions for your program using clingo given that the like and dislike relations are given above. d. How many solutions does your program have? What is the command line that you use to get this information?
Project ID: 8687771

About the project

1 proposal
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
1 freelancer is bidding on average $666 USD for this job
User Avatar
A proposal has not yet been provided
$666 USD in 6 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of INDIA
Las Cruces, India
5.0
9
Payment method verified
Member since Jun 11, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.