Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse the Essence syntax for dominance relations #670

Open
gskorokhod opened this issue Feb 10, 2025 · 0 comments
Open

Parse the Essence syntax for dominance relations #670

gskorokhod opened this issue Feb 10, 2025 · 0 comments
Assignees
Labels
area::parsing Related to essence / essence prime parsing priority::next We need this next.

Comments

@gskorokhod
Copy link
Contributor

We need to support the following syntax in the parser:

% dominance: both are at least as good as current solution,
% at least one is strictly better
dominanceRelation
	(total_cost <= fromSolution(total_cost)) /\
	(total_carbon <= fromSolution(total_carbon)) /\
	(
		(total_cost < fromSolution(total_cost)) \/
		(total_carbon < fromSolution(total_carbon))
	)

(This is mostly "standard" Essence constraints with the special fromSolution() syntax for some variables)

@gskorokhod gskorokhod added area::parsing Related to essence / essence prime parsing priority::next We need this next. labels Feb 10, 2025
@gskorokhod gskorokhod self-assigned this Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area::parsing Related to essence / essence prime parsing priority::next We need this next.
Projects
None yet
Development

No branches or pull requests

1 participant